Mercurial > repos > takakoron > detect_snps
comparison Detect_SNPs_docker.xml @ 0:07edde07d1fd default tip
commit
| author | tm<tm@nig.ac.jp> |
|---|---|
| date | Thu, 24 Mar 2016 16:21:38 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:07edde07d1fd |
|---|---|
| 1 <tool id="Detect_SNPs_docker" name="Detect_SNPs"> | |
| 2 <description> Detect SNPs </description> | |
| 3 <requirements> | |
| 4 <container type="docker">takakoron/detect_snp</container> | |
| 5 </requirements> | |
| 6 <command interpreter="perl"> | |
| 7 /usr/src/myapp/kick_detect_snps.pl $how.how_specify | |
| 8 | |
| 9 #if $how.how_specify == "pileup": | |
| 10 $how.pileup | |
| 11 $how.consensus | |
| 12 $how.snp | |
| 13 $how.map | |
| 14 $how.coverage | |
| 15 $how.het_hom_both | |
| 16 $output1 | |
| 17 #else: | |
| 18 $how.mpileup | |
| 19 $how.dp | |
| 20 $how.mq | |
| 21 $how.het_hom_both | |
| 22 $how.gq | |
| 23 $output1 | |
| 24 #end if | |
| 25 </command> | |
| 26 | |
| 27 <inputs> | |
| 28 <conditional name="how"> | |
| 29 <param name="how_specify" type="select" label="Select pileup or mpileup " > | |
| 30 <option value="mpileup">mpileup</option> | |
| 31 <option value="pileup">pileup</option> | |
| 32 </param> | |
| 33 <when value="pileup"> | |
| 34 <param name="pileup" type="data" label="Select DNA polymorphism file(format : samtools pileup)" /> | |
| 35 <param name="consensus" area="true" type="integer" size="1x10" value="0" label="Consensus quality threshold in pileup file (default: 0)" /> | |
| 36 <param name="snp" area="true" type="integer" size="1x10" value="20" label="SNP quality threshold in pileup file (default: 20)" /> | |
| 37 <param name="map" area="true" type="integer" size="1x10" value="0" label="Maximum mapping quality threshold in pileup file (default: 0)" /> | |
| 38 <param name="coverage" area="true" type="integer" size="1x10" value="8" label="read coverage threshold in pileup file (default: 8)" /> | |
| 39 <param name="het_hom_both" type="select" label="Select hets, homs or both (default: both)" > | |
| 40 <option value="both">both</option> | |
| 41 <option value="homs">homs</option> | |
| 42 <option value="hets">hets</option> | |
| 43 </param> | |
| 44 </when> | |
| 45 <when value="mpileup"> | |
| 46 <param name="mpileup" type="data" label="Select DNA polymorphism file(format : samtools mpileup)" /> | |
| 47 <param name="dp" area="true" type="integer" size="1x10" value="0" label="(DP) Raw read depth threshold in mpileup file (default: 0)" /> | |
| 48 <param name="mq" area="true" type="integer" size="1x10" value="0" label="(MQ) Root-mean-square mapping quality threshold in mpileup file (default: 0)" /> | |
| 49 <param name="het_hom_both" type="select" label="(GT) Select hets, homs or both (default: both)" > | |
| 50 <option value="both">both</option> | |
| 51 <option value="homs">homs</option> | |
| 52 <option value="hets">hets</option> | |
| 53 </param> | |
| 54 <param name="gq" area="true" type="integer" size="1x10" value="0" label="(GQ) Genotype quality threshold in mpileup file (default: 0)" /> | |
| 55 </when> | |
| 56 </conditional> | |
| 57 </inputs> | |
| 58 | |
| 59 <outputs> | |
| 60 <data name="output1" label="SNPs data" type="data" format="vcf"/> | |
| 61 </outputs> | |
| 62 | |
| 63 <!--- | |
| 64 <help> | |
| 65 | |
| 66 .. class:: infomark | |
| 67 **About data** | |
| 68 | |
| 69 Distribution of chromosome is appeared in order of genome file. | |
| 70 | |
| 71 </help> | |
| 72 --> | |
| 73 | |
| 74 </tool> | |
| 75 | |
| 76 |
