# HG changeset patch # User iuc # Date 1602604816 0 # Node ID 2308bc523659293f29cc4563143971c556734c09 # Parent e86fcef8ed910b607d408c2b97f49a7913c0cc9d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/medaka commit c02f74da66f51b431b7cd8bd0d1cffde267e3332" diff -r e86fcef8ed91 -r 2308bc523659 macros.xml --- a/macros.xml Tue Sep 01 03:08:24 2020 -0400 +++ b/macros.xml Tue Oct 13 16:00:16 2020 +0000 @@ -5,7 +5,7 @@ medaka - scipy + diff -r e86fcef8ed91 -r 2308bc523659 variant.xml --- a/variant.xml Tue Sep 01 03:08:24 2020 -0400 +++ b/variant.xml Tue Oct 13 16:00:16 2020 +0000 @@ -1,40 +1,75 @@ - + Probability decoding macros.xml - + + scipy + + &1 | tee '$out_log' +#elif $pool.pool_mode == "No": + ## run + medaka variant + ## optional + --debug + #if $regions + --regions '${regions}' + #end if + $verbose + ## required + reference.fa + '$pool.input' + '$out_result' ##output + 2>&1 | tee '$out_log' #end if -$verbose -## required -reference.fa -#for $current in $inputs - '$current' -#end for -'$out_result' ## output - -2>&1 | tee '$out_log' #if $out_annotated - && python '$__tool_directory__/annotateVCF.py' '$out_result' '$in_mpileup' '$out_annotated' + && samtools faidx reference.fa + && grep -v "^#" '$out_result' > tmp.txt + && cut -f 1,2 tmp.txt > positions.txt + && samtools mpileup -d 0 --positions positions.txt -Q $output_annotated.min_basequal -q $output_annotated.min_mapqual -f reference.fa '$output_annotated.in_bam' > mpileup.txt + && python '$__tool_directory__/annotateVCF.py' '$out_result' mpileup.txt '$out_annotated' #end if ]]> - + + + + + + + + + + + + - + @@ -44,15 +79,17 @@ - - + - + + + + @@ -70,14 +107,54 @@ - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +