# HG changeset patch # User iuc # Date 1623426134 0 # Node ID 252dfb042563651ddf83df4f26e2b85082a90494 # Parent 147465efa99c7fc0c6108283f9eb312297ddd0f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ivar/ commit 80ad6146e8852fb04fbdbe7b14ab120eee605e3a" diff -r 147465efa99c -r 252dfb042563 ivar_variants.xml --- a/ivar_variants.xml Thu Jun 10 22:06:04 2021 +0000 +++ b/ivar_variants.xml Fri Jun 11 15:42:14 2021 +0000 @@ -1,4 +1,4 @@ - + Call variants from aligned BAM file macros.xml @@ -13,13 +13,14 @@ samtools mpileup -A -d 0 --reference ref.fa -B -Q 0 sorted.bam | ivar variants -p variants -q $min_qual - -t $min_freq && - #if str($output_format.choice) == 'vcf' - python '${__tool_directory__}/ivar_variants_to_vcf.py' + -t $min_freq + #if str($output_format.choice) == "tabular" or str($output_format.choice) == "tabular_and_vcf" + && cp variants.tsv '$output_variants_tabular' + #end if + #if str($output_format.choice) == 'vcf' or str($output_format.choice) == "tabular_and_vcf" + && python '${__tool_directory__}/ivar_variants_to_vcf.py' ${output_format.pass_only} - variants.tsv '$output_variants' - #else - cp variants.tsv '$output_variants' + variants.tsv '$output_variants_vcf' #end if ]]> @@ -31,25 +32,33 @@ + + + + - - - - + + output_format['choice'] == 'tabular' or output_format['choice'] == 'tabular_and_vcf' + + + + + + output_format['choice'] == 'vcf' or output_format['choice'] == 'tabular_and_vcf' - + @@ -57,8 +66,19 @@ - + + + + + + + + + + + + +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##INFO= +##FILTER= +##FILTER= 0.05"> +#CHROM POS ID REF ALT QUAL FILTER INFO +PRV 1682 . C T . PASS DP=1133;REF_DP=1097;REF_RV=984;REF_QUAL=37;ALT_DP=34;ALT_RV=33;ALT_QUAL=37;AF=0.0300088 +PRV 1965 . T G . PASS DP=365;REF_DP=302;REF_RV=113;REF_QUAL=37;ALT_DP=63;ALT_RV=25;ALT_QUAL=37;AF=0.172603 +PRV 2781 . T G . PASS DP=408;REF_DP=354;REF_RV=70;REF_QUAL=37;ALT_DP=48;ALT_RV=8;ALT_QUAL=36;AF=0.117647 +PRV 2922 . C T . PASS DP=275;REF_DP=264;REF_RV=0;REF_QUAL=36;ALT_DP=11;ALT_RV=0;ALT_QUAL=36;AF=0.04 +PRV 3148 . Y T . PASS DP=1707;REF_DP=0;REF_RV=0;REF_QUAL=0;ALT_DP=1324;ALT_RV=264;ALT_QUAL=36;AF=0.77563 +PRV 3148 . Y C . PASS DP=1707;REF_DP=0;REF_RV=0;REF_QUAL=0;ALT_DP=381;ALT_RV=75;ALT_QUAL=36;AF=0.223199 +PRV 3295 . A G . PASS DP=1040;REF_DP=1002;REF_RV=1002;REF_QUAL=35;ALT_DP=38;ALT_RV=38;ALT_QUAL=33;AF=0.0365385 +PRV 5680 . C T . PASS DP=35;REF_DP=27;REF_RV=5;REF_QUAL=44;ALT_DP=8;ALT_RV=2;ALT_QUAL=46;AF=0.228571 +PRV 7916 . C T . PASS DP=432;REF_DP=351;REF_RV=289;REF_QUAL=36;ALT_DP=81;ALT_RV=78;ALT_QUAL=37;AF=0.1875 +PRV 9713 . C T . PASS DP=387;REF_DP=374;REF_RV=0;REF_QUAL=37;ALT_DP=13;ALT_RV=0;ALT_QUAL=35;AF=0.0335917