diff snpSift_rmInfo.xml @ 3:20c7d583fec1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
author iuc
date Mon, 12 Jun 2017 10:25:32 -0400
parents bf8c1526871b
children 09d6806c609e
line wrap: on
line diff
--- a/snpSift_rmInfo.xml	Mon Dec 05 12:11:18 2016 -0500
+++ b/snpSift_rmInfo.xml	Mon Jun 12 10:25:32 2017 -0400
@@ -1,4 +1,4 @@
-<tool id="snpSift_rmInfo" name="SnpSift rmInfo" version="@WRAPPER_VERSION@.1">
+<tool id="snpSift_rmInfo" name="SnpSift rmInfo" version="@WRAPPER_VERSION@.0">
     <description>remove INFO field annotations</description>
     <macros>
         <import>snpSift_macros.xml</import>
@@ -7,21 +7,20 @@
     <expand macro="stdio" />
     <expand macro="version_command" />
     <command><![CDATA[
-        @CONDA_SNPSIFT_JAR_PATH@ &&
-        java -Xmx2G -jar "\$SNPSIFT_JAR_PATH/SnpSift.jar" rmInfo "$input"
-        #echo ' '.join($info_fields.split(','))
-        > "$output"
-]]>
-    </command>
+SnpSift -Xmx2G rmInfo
+'$input'
+#echo ' '.join($info_fields.split(','))
+> '$output'
+    ]]></command>
     <inputs>
-        <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/>
+        <param name="input" type="data" format="vcf" label="Variant input file in VCF format"/>
         <param name="info_fields" type="text" value="" label="Info fields to remove, e.g. EFF">
           <help>Separate multiple INFO fields with a comma, e.g.: EFF,DP</help>
           <validator type="empty_field" />
         </param>
     </inputs>
     <outputs>
-        <data format="vcf" name="output" />
+        <data name="output" format="vcf" />
     </outputs>
     <tests>
         <test>
@@ -38,15 +37,13 @@
     <help><![CDATA[
 This command removes INFO fields from a VCF file (i.e. removes annotations)
 
-Removing INFO fields is usually done because you want to re-annotate the VCF file, thus removing old INFO fields in order to add new ones later. 
+Removing INFO fields is usually done because you want to re-annotate the VCF file, thus removing old INFO fields in order to add new ones later.
 
-SnpEff & SnpSift only add annotations and do not change current ones. So, in order to re-annotate a file, you should first remove the old annotations and then re-annotate. 
-The reason for this behavior is simply because replacing annotation values is considered a bad practice. Imagine that you have a VCF entry  in your re-annotated file having the value "AA=1": How do you know if this is from the old annotations or from the new ones? This confusion often leads to problems in downstream steps of your pipelines, so it's better to avoid the problem by first removing all the previous annotations and then adding the new ones. 
+SnpEff & SnpSift only add annotations and do not change current ones. So, in order to re-annotate a file, you should first remove the old annotations and then re-annotate.
+The reason for this behavior is simply because replacing annotation values is considered a bad practice. Imagine that you have a VCF entry  in your re-annotated file having the value "AA=1": How do you know if this is from the old annotations or from the new ones? This confusion often leads to problems in downstream steps of your pipelines, so it's better to avoid the problem by first removing all the previous annotations and then adding the new ones.
 
 @EXTERNAL_DOCUMENTATION@
-    http://snpeff.sourceforge.net/SnpSift.html#rmInfo
-
-]]>
-    </help>
+- http://snpeff.sourceforge.net/SnpSift.html#rmInfo
+    ]]></help>
     <expand macro="citations" />
 </tool>