Mercurial > repos > iuc > snpsift
comparison snpSift_annotate.xml @ 11:b884686a80dc draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 344140b8df53b8b7024618bb04594607a045c03a
| author | iuc |
|---|---|
| date | Mon, 04 May 2015 22:37:06 -0400 |
| parents | f0faaa4d6ee5 |
| children | 6bf58286d795 |
comparison
equal
deleted
inserted
replaced
| 10:93577c5e76ec | 11:b884686a80dc |
|---|---|
| 1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="4.0.0"> | 1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="4.0.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 <expand macro="requirements" /> | |
| 7 <macros> | 6 <macros> |
| 8 <import>snpSift_macros.xml</import> | 7 <import>snpSift_macros.xml</import> |
| 9 </macros> | 8 </macros> |
| 9 <expand macro="requirements" /> | |
| 10 <expand macro="stdio" /> | |
| 10 <command> | 11 <command> |
| 11 java -Xmx6G -jar \$SNPEFF_JAR_PATH/SnpSift.jar $annotate_cmd | 12 java -Xmx6G -jar \$SNPEFF_JAR_PATH/SnpSift.jar $annotate_cmd |
| 12 #if $annotate.id : | 13 #if $annotate.id : |
| 13 -id | 14 -id |
| 14 #elif $annotate.info_ids.__str__.strip() != '' : | 15 #elif $annotate.info_ids.__str__.strip() != '' : |
| 15 -info "$annotate.info_ids" | 16 -info "$annotate.info_ids" |
| 16 #end if | 17 #end if |
| 17 -q $dbSnp $input > $output | 18 -q $dbSnp $input > $output |
| 18 </command> | 19 </command> |
| 19 <inputs> | 20 <inputs> |
| 20 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/> | 21 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/> |
| 21 <param format="vcf" name="dbSnp" type="data" label="VCF File with ID field annotated (e.g. dnSNP.vcf)" | 22 <param format="vcf" name="dbSnp" type="data" label="VCF File with ID field annotated (e.g. dnSNP.vcf)" |
| 22 help="The ID field for a variant in input will be assigned from a matching variant in this file."/> | 23 help="The ID field for a variant in input will be assigned from a matching variant in this file."/> |
| 23 <conditional name="annotate"> | 24 <conditional name="annotate"> |
| 24 <param name="id" type="boolean" truevalue="id" falsevalue="info" checked="True" label="Only annotate ID field (do not add INFO field)" help=""/> | 25 <param name="id" type="boolean" truevalue="id" falsevalue="info" checked="True" label="Only annotate ID field (do not add INFO field)" help=""/> |
| 25 <when value="id"/> | 26 <when value="id"/> |
| 26 <when value="info"> | 27 <when value="info"> |
| 27 <param name="info_ids" type="text" value="" size="60" optional="true" label="Limit INFO annotation to these INFO IDs" | 28 <param name="info_ids" type="text" value="" size="60" optional="true" label="Limit INFO annotation to these INFO IDs" |
| 28 help="list is a comma separated list of fields. When blank, all INFO fields are included"> | 29 help="list is a comma separated list of fields. When blank, all INFO fields are included"> |
| 29 <validator type="regex" message="IDs separted by commas">^(([a-zA-Z][a-zA-Z0-9_-]*)(,[a-zA-Z][a-zA-Z0-9_-]*)*)?$</validator> | 30 <validator type="regex" message="IDs separted by commas">^(([a-zA-Z][a-zA-Z0-9_-]*)(,[a-zA-Z][a-zA-Z0-9_-]*)*)?$</validator> |
| 30 </param> | 31 </param> |
| 31 </when> | 32 </when> |
| 32 </conditional> | 33 </conditional> |
| 33 <param name="annotate_cmd" type="boolean" truevalue="annMem" falsevalue="annotate" checked="false" label="Allow unsorted VCF files"> | 34 <param name="annotate_cmd" type="boolean" truevalue="annMem" falsevalue="annotate" checked="false" label="Allow unsorted VCF files"> |
| 34 <help> | 35 <help> |
| 35 This option will load the entire 'database' VCF file into memory (which may not be practical for large 'database' VCF files). | 36 This option will load the entire 'database' VCF file into memory (which may not be practical for large 'database' VCF files). |
| 36 Otherwise, both the database and the input VCF files should be sorted by position (Chromosome sort order can differ between files). | 37 Otherwise, both the database and the input VCF files should be sorted by position (Chromosome sort order can differ between files). |
| 37 </help> | 38 </help> |
| 38 </param> | 39 </param> |
| 39 </inputs> | 40 </inputs> |
| 40 <expand macro="stdio" /> | |
| 41 <outputs> | 41 <outputs> |
| 42 <data format="vcf" name="output" /> | 42 <data format="vcf" name="output" /> |
| 43 </outputs> | 43 </outputs> |
| 44 <tests> | 44 <tests> |
| 45 <test> | 45 <test> |
