Mercurial > repos > iuc > snpsift
annotate snpSift_annotate.xml @ 17:ede8954f5c82 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 70ff70918368ff0deeb596c2190a770abe9e1c9b
| author | iuc |
|---|---|
| date | Wed, 18 Apr 2018 07:28:34 -0400 |
| parents | f0e87bdad733 |
| children | 0b0035e38abe |
| rev | line source |
|---|---|
|
17
ede8954f5c82
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 70ff70918368ff0deeb596c2190a770abe9e1c9b
iuc
parents:
16
diff
changeset
|
1 <tool id="snpSift_annotate" name="SnpSift Annotate" version="@WRAPPER_VERSION@.galaxy0"> |
| 0 | 2 <description>SNPs from dbSnp</description> |
|
14
80da7fae14b8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12355cea76843e3ed6f09d96c3e9fe22afe4a4f
iuc
parents:
13
diff
changeset
|
3 <!-- |
| 0 | 4 You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory) |
| 5 --> | |
| 6 <macros> | |
| 7 <import>snpSift_macros.xml</import> | |
| 8 </macros> | |
|
11
b884686a80dc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
0
diff
changeset
|
9 <expand macro="requirements" /> |
|
b884686a80dc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents:
0
diff
changeset
|
10 <expand macro="stdio" /> |
|
13
ed810da439cc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
12
diff
changeset
|
11 <expand macro="version_command" /> |
|
ed810da439cc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
12
diff
changeset
|
12 <command><![CDATA[ |
|
16
f0e87bdad733
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 9d2052269bfbca81a5f9cd10c3153e611358a329
iuc
parents:
15
diff
changeset
|
13 SnpSift -Xmx8G annotate |
|
15
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
14 #if $annotate.id == 'id': |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
15 -id |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
16 #elif str($annotate.info_ids).strip() != '': |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
17 -info "$annotate.info_ids" |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
18 #end if |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
19 -q '$dbSnp' '$input' > '$output' |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
20 ]]></command> |
| 0 | 21 <inputs> |
|
15
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
22 <param name="input" type="data" format="vcf" label="Variant input file in VCF format"/> |
|
16
f0e87bdad733
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit 9d2052269bfbca81a5f9cd10c3153e611358a329
iuc
parents:
15
diff
changeset
|
23 <param name="dbSnp" type="data" format="vcf" label="VCF File with ID field annotated (e.g. dbSNP.vcf)" |
| 0 | 24 help="The ID field for a variant in input will be assigned from a matching variant in this file."/> |
| 25 <conditional name="annotate"> | |
|
15
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
26 <param name="id" type="select" label="Fields to annotate"> |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
27 <option value="id">Only annotate ID field (no INFO fields will be added)</option> |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
28 <option value="info">Add also INFO fields</option> |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
29 </param> |
| 0 | 30 <when value="id"/> |
| 31 <when value="info"> | |
|
14
80da7fae14b8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12355cea76843e3ed6f09d96c3e9fe22afe4a4f
iuc
parents:
13
diff
changeset
|
32 <param name="info_ids" type="text" value="" label="Limit INFO annotation to these INFO IDs" help="List is a comma separated list of fields. When blank, all INFO fields are included"> |
| 0 | 33 <validator type="regex" message="IDs separted by commas">^(([a-zA-Z][a-zA-Z0-9_-]*)(,[a-zA-Z][a-zA-Z0-9_-]*)*)?$</validator> |
| 34 </param> | |
| 35 </when> | |
| 36 </conditional> | |
| 37 </inputs> | |
| 38 <outputs> | |
|
15
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
39 <data name="output" format="vcf" /> |
| 0 | 40 </outputs> |
| 41 <tests> | |
| 42 <test> | |
| 43 <param name="input" ftype="vcf" value="annotate_1.vcf"/> | |
| 44 <param name="dbSnp" ftype="vcf" value="db_test_1.vcf"/> | |
|
15
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
45 <param name="id" value="id"/> |
| 0 | 46 <output name="output"> |
| 47 <assert_contents> | |
| 48 <has_text text="rs76166080" /> | |
| 49 </assert_contents> | |
| 50 </output> | |
| 51 </test> | |
| 52 </tests> | |
|
13
ed810da439cc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
12
diff
changeset
|
53 <help><![CDATA[ |
| 0 | 54 This is typically used to annotate IDs from dbSnp. |
| 55 | |
| 56 Annotatating only the ID field from dbSnp137.vcf :: | |
| 57 | |
| 58 Input VCF: | |
| 59 CHROM POS ID REF ALT QUAL FILTER INFO | |
| 60 22 16157571 . T G 0.0 FAIL NS=53 | |
| 61 22 16346045 . T C 0.0 FAIL NS=244 | |
| 62 22 16350245 . C A 0.0 FAIL NS=192 | |
| 63 | |
| 64 Annotated Output VCF: | |
| 65 #CHROM POS ID REF ALT QUAL FILTER INFO | |
| 66 22 16157571 . T G 0.0 FAIL NS=53 | |
| 67 22 16346045 rs56234788 T C 0.0 FAIL NS=244 | |
| 68 22 16350245 rs2905295 C A 0.0 FAIL NS=192 | |
| 69 | |
| 70 Annotatating both the ID and INFO fields from dbSnp137.vcf :: | |
| 71 | |
| 72 Input VCF: | |
| 73 #CHROM POS ID REF ALT QUAL FILTER INFO | |
| 74 22 16157571 . T G 0.0 FAIL NS=53 | |
| 75 22 16346045 . T C 0.0 FAIL NS=244 | |
| 76 22 16350245 . C A 0.0 FAIL NS=192 | |
| 77 | |
| 78 Annotated Output VCF: | |
| 79 #CHROM POS ID REF ALT QUAL FILTER INFO | |
| 80 22 16157571 . T G 0.0 FAIL NS=53 | |
| 81 22 16346045 rs56234788 T C 0.0 FAIL NS=244;RSPOS=16346045;GMAF=0.162248628884826;dbSNPBuildID=129;SSR=0;SAO=0;VP=050100000000000100000100;WGT=0;VC=SNV;SLO;GNO | |
| 82 22 16350245 rs2905295 C A 0.0 FAIL NS=192;RSPOS=16350245;GMAF=0.230804387568556;dbSNPBuildID=101;SSR=1;SAO=0;VP=050000000000000100000140;WGT=0;VC=SNV;GNO | |
| 83 | |
| 84 @EXTERNAL_DOCUMENTATION@ | |
|
15
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
85 - http://snpeff.sourceforge.net/SnpSift.html#annotate |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
86 ]]></help> |
|
13
ed810da439cc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
12
diff
changeset
|
87 <expand macro="citations" /> |
| 0 | 88 </tool> |
