Mercurial > repos > iuc > snpsift
comparison snpSift_annotate.xml @ 13:ed810da439cc draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12a2e9dd273b4c23db48bbb747f32700887710e
| author | iuc |
|---|---|
| date | Tue, 07 Jun 2016 09:41:13 -0400 |
| parents | 6bf58286d795 |
| children | 80da7fae14b8 |
comparison
equal
deleted
inserted
replaced
| 12:6bf58286d795 | 13:ed810da439cc |
|---|---|
| 1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="4.0.0"> | 1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="@WRAPPER_VERSION@.0"> |
| 2 <description>SNPs from dbSnp</description> | 2 <description>SNPs from dbSnp</description> |
| 3 <!-- | 3 <!-- |
| 4 You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory) | 4 You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory) |
| 5 --> | 5 --> |
| 6 <macros> | 6 <macros> |
| 7 <import>snpSift_macros.xml</import> | 7 <import>snpSift_macros.xml</import> |
| 8 </macros> | 8 </macros> |
| 9 <expand macro="requirements" /> | 9 <expand macro="requirements" /> |
| 10 <expand macro="stdio" /> | 10 <expand macro="stdio" /> |
| 11 <command> | 11 <expand macro="version_command" /> |
| 12 java -Xmx6G -jar \$SNPEFF_JAR_PATH/SnpSift.jar $annotate_cmd | 12 <command><![CDATA[ |
| 13 java -Xmx6G -jar "\$SNPEFF_JAR_PATH/SnpSift.jar" $annotate_cmd | |
| 13 #if $annotate.id : | 14 #if $annotate.id : |
| 14 -id | 15 -id |
| 15 #elif $annotate.info_ids.__str__.strip() != '' : | 16 #elif str($annotate.info_ids).strip() != '' : |
| 16 -info "$annotate.info_ids" | 17 -info "$annotate.info_ids" |
| 17 #end if | 18 #end if |
| 18 -q $dbSnp $input > $output | 19 -q "$dbSnp" "$input" > "$output" |
| 20 ]]> | |
| 19 </command> | 21 </command> |
| 20 <inputs> | 22 <inputs> |
| 21 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/> | 23 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/> |
| 22 <param format="vcf" name="dbSnp" type="data" label="VCF File with ID field annotated (e.g. dnSNP.vcf)" | 24 <param format="vcf" name="dbSnp" type="data" label="VCF File with ID field annotated (e.g. dnSNP.vcf)" |
| 23 help="The ID field for a variant in input will be assigned from a matching variant in this file."/> | 25 help="The ID field for a variant in input will be assigned from a matching variant in this file."/> |
| 24 <conditional name="annotate"> | 26 <conditional name="annotate"> |
| 25 <param name="id" type="boolean" truevalue="id" falsevalue="info" checked="True" label="Only annotate ID field (do not add INFO field)" help=""/> | 27 <param name="id" type="boolean" truevalue="id" falsevalue="info" checked="True" label="Only annotate ID field (do not add INFO field)" help=""/> |
| 26 <when value="id"/> | 28 <when value="id"/> |
| 27 <when value="info"> | 29 <when value="info"> |
| 28 <param name="info_ids" type="text" value="" optional="true" label="Limit INFO annotation to these INFO IDs" | 30 <param name="info_ids" type="text" value="" optional="true" label="Limit INFO annotation to these INFO IDs" |
| 29 help="list is a comma separated list of fields. When blank, all INFO fields are included"> | 31 help="list is a comma separated list of fields. When blank, all INFO fields are included"> |
| 30 <validator type="regex" message="IDs separted by commas">^(([a-zA-Z][a-zA-Z0-9_-]*)(,[a-zA-Z][a-zA-Z0-9_-]*)*)?$</validator> | 32 <validator type="regex" message="IDs separted by commas">^(([a-zA-Z][a-zA-Z0-9_-]*)(,[a-zA-Z][a-zA-Z0-9_-]*)*)?$</validator> |
| 31 </param> | 33 </param> |
| 32 </when> | 34 </when> |
| 33 </conditional> | 35 </conditional> |
| 34 <param name="annotate_cmd" type="boolean" truevalue="annMem" falsevalue="annotate" checked="false" label="Allow unsorted VCF files"> | 36 <param name="annotate_cmd" type="boolean" truevalue="annMem" falsevalue="annotate" checked="false" label="Allow unsorted VCF files"> |
| 35 <help> | 37 <help> |
| 36 This option will load the entire 'database' VCF file into memory (which may not be practical for large 'database' VCF files). | 38 This option will load the entire 'database' VCF file into memory (which may not be practical for large 'database' VCF files). |
| 37 Otherwise, both the database and the input VCF files should be sorted by position (Chromosome sort order can differ between files). | 39 Otherwise, both the database and the input VCF files should be sorted by position (Chromosome sort order can differ between files). |
| 38 </help> | 40 </help> |
| 39 </param> | 41 </param> |
| 40 </inputs> | 42 </inputs> |
| 41 <outputs> | 43 <outputs> |
| 42 <data format="vcf" name="output" /> | 44 <data format="vcf" name="output" /> |
| 52 <has_text text="rs76166080" /> | 54 <has_text text="rs76166080" /> |
| 53 </assert_contents> | 55 </assert_contents> |
| 54 </output> | 56 </output> |
| 55 </test> | 57 </test> |
| 56 </tests> | 58 </tests> |
| 57 <help> | 59 <help><![CDATA[ |
| 58 | 60 |
| 59 This is typically used to annotate IDs from dbSnp. | 61 This is typically used to annotate IDs from dbSnp. |
| 60 | 62 |
| 61 Annotatating only the ID field from dbSnp137.vcf :: | 63 Annotatating only the ID field from dbSnp137.vcf :: |
| 62 | 64 |
| 90 | 92 |
| 91 | 93 |
| 92 @EXTERNAL_DOCUMENTATION@ | 94 @EXTERNAL_DOCUMENTATION@ |
| 93 http://snpeff.sourceforge.net/SnpSift.html#annotate | 95 http://snpeff.sourceforge.net/SnpSift.html#annotate |
| 94 | 96 |
| 95 @CITATION_SECTION@ | 97 ]]> |
| 96 | |
| 97 | |
| 98 </help> | 98 </help> |
| 99 <expand macro="citations" /> | |
| 99 </tool> | 100 </tool> |
| 100 | 101 |
