Mercurial > repos > iuc > snpsift
annotate snpSift_rmInfo.xml @ 20:f90f08ed9810 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit df8a21df77acffe40c0bc0fe0409ca1b529cd7fc"
| author | iuc |
|---|---|
| date | Sat, 11 Sep 2021 07:17:20 +0000 |
| parents | ede8954f5c82 |
| children |
| 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:
15
diff
changeset
|
1 <tool id="snpSift_rmInfo" name="SnpSift rmInfo" version="@WRAPPER_VERSION@.galaxy0"> |
| 0 | 2 <description>remove INFO field annotations</description> |
| 3 <macros> | |
| 4 <import>snpSift_macros.xml</import> | |
| 5 </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
|
6 <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
|
7 <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:
11
diff
changeset
|
8 <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:
11
diff
changeset
|
9 <command><![CDATA[ |
|
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
|
10 SnpSift -Xmx2G rmInfo |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
11 '$input' |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
12 #echo ' '.join($info_fields.split(',')) |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
13 > '$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
|
14 ]]></command> |
| 0 | 15 <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
|
16 <param name="input" type="data" format="vcf" label="Variant input file in VCF format"/> |
| 0 | 17 <param name="info_fields" type="text" value="" label="Info fields to remove, e.g. EFF"> |
| 18 <help>Separate multiple INFO fields with a comma, e.g.: EFF,DP</help> | |
| 19 <validator type="empty_field" /> | |
| 20 </param> | |
| 21 </inputs> | |
| 22 <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
|
23 <data name="output" format="vcf" /> |
| 0 | 24 </outputs> |
| 25 <tests> | |
| 26 <test> | |
|
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
|
27 <param name="input" ftype="vcf" value="test_rmInfo.vcf"/> |
| 0 | 28 <param name="info_fields" value="EFF"/> |
| 29 <output name="output"> | |
| 30 <assert_contents> | |
| 31 <has_text text="DP=29" /> | |
| 32 <not_has_text text="EFF=EXON" /> | |
| 33 </assert_contents> | |
| 34 </output> | |
| 35 </test> | |
| 36 </tests> | |
|
13
ed810da439cc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
11
diff
changeset
|
37 <help><![CDATA[ |
| 0 | 38 This command removes INFO fields from a VCF file (i.e. removes annotations) |
| 39 | |
|
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
|
40 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. |
| 0 | 41 |
|
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
|
42 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. |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
43 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. |
| 0 | 44 |
| 45 @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
|
46 - http://snpeff.sourceforge.net/SnpSift.html#rmInfo |
|
8bd645802765
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit fbc18d9128669e461e76ed13307ee88dd774afa5
iuc
parents:
14
diff
changeset
|
47 ]]></help> |
|
13
ed810da439cc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/snpsift/snpsift commit d12a2e9dd273b4c23db48bbb747f32700887710e
iuc
parents:
11
diff
changeset
|
48 <expand macro="citations" /> |
| 0 | 49 </tool> |
