Mercurial > repos > devteam > table_annovar
comparison table_annovar.xml @ 5:7d2a81d29ca4 draft
Uploaded
author | devteam |
---|---|
date | Wed, 12 Feb 2014 16:06:05 -0500 |
parents | 9c75a9b5ecd2 |
children | 091154194ce8 |
comparison
equal
deleted
inserted
replaced
4:0f07aec558b9 | 5:7d2a81d29ca4 |
---|---|
1 <tool id="table_annovar" name="ANNOVAR Annotate VCF" version="0.1"> | 1 <tool id="table_annovar" name="ANNOVAR Annotate VCF" version="0.1"> |
2 <description>with functional information using ANNOVAR</description> | 2 <description>with functional information using ANNOVAR</description> |
3 | 3 |
4 <requirements> | 4 <requirements> |
5 <requirement type="package">annovar</requirement> | 5 <requirement type="package">annovar</requirement> |
6 <requirement type="set_environment">SCRIPT_PATH</requirement> | |
6 </requirements> | 7 </requirements> |
7 | 8 |
8 <command> | 9 <command> |
9 ## Convert VCF to AV input format. | 10 ## Convert VCF to AV input format. |
10 convert2annovar.pl -format vcf4 -includeinfo ${input} > input.avinput | 11 convert2annovar.pl -format vcf4 -includeinfo ${input} > input.avinput |
37 | 38 |
38 ## Reduce variants. | 39 ## Reduce variants. |
39 ; table_annovar.pl input.avinput ${__get_data_table_entry__('annovar_indexes', 'dbkey', $input.dbkey, 'path')} -protocol ${protocol} -operation ${operation} -nastring NA -buildver ${input.dbkey} --outfile output | 40 ; table_annovar.pl input.avinput ${__get_data_table_entry__('annovar_indexes', 'dbkey', $input.dbkey, 'path')} -protocol ${protocol} -operation ${operation} -nastring NA -buildver ${input.dbkey} --outfile output |
40 | 41 |
41 ## Process annotated table to remove "NA" strings from numerical columns and copy to output. | 42 ## Process annotated table to remove "NA" strings from numerical columns and copy to output. |
42 ; cat output.${input.dbkey}_multianno.txt | replace_NA.py > ${output} | 43 ; cat output.${input.dbkey}_multianno.txt | \$SCRIPT_PATH/replace_NA.py > ${output} |
43 </command> | 44 </command> |
44 | 45 |
45 <inputs> | 46 <inputs> |
46 <param name="input" type="data" format="vcf" metadata_name="dbkey" label="Variants" help=""> | 47 <param name="input" type="data" format="vcf" metadata_name="dbkey" label="Variants" help=""> |
47 <validator type="unspecified_build" /> | 48 <validator type="unspecified_build" /> |