# HG changeset patch # User iuc # Date 1550782576 18000 # Node ID baa8823f807320fe1e9b44246666340d65d5f246 # Parent b641062a2587713810378b7414b035e68f06645f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69 diff -r b641062a2587 -r baa8823f8073 bcftools_stats.xml --- a/bcftools_stats.xml Tue Dec 12 13:56:27 2017 -0500 +++ b/bcftools_stats.xml Thu Feb 21 15:56:16 2019 -0500 @@ -1,5 +1,5 @@ - + Parses VCF or BCF and produces stats which can be plotted using plot-vcfstats stats @@ -7,11 +7,16 @@ - matplotlib + matplotlib + tectonic $output_file -## requires: matplotlib and pdflatex +> '$output_file' #if $plot_title: -&& plot-vcfstats -p 'plot_tmp/' -T $plot_title -s $output_file + && plot-vcfstats + -p 'plot_tmp/' + -T '$plot_title' + -s + '$output_file' + || (printf "The content of plot_tmp/plot-vcfstats.log is:\n" >&2 && cat plot_tmp/plot-vcfstats.log >&2 && exit 1) #end if -]]> - + ]]> - + +
@@ -128,13 +137,14 @@ - + plot_title - + + @@ -143,7 +153,8 @@ - + + @@ -151,6 +162,7 @@ + - 1.4.0 + 1.9 @@ -10,13 +10,13 @@ - bcftools - htslib + bcftools + htslib - samtools + samtools bcftools 2>&1 | grep 'Version:' @@ -39,7 +39,7 @@ ]]> - + @@ -68,7 +71,7 @@ - + $input_vcf && bcftools index $input_vcf && - #elif $input_file.is_of_type('vcf_bgz') - ln -s '$input_file' $input_vcf + #elif $input_file.is_of_type('vcf_bgzip') + ln -s '$input_file' $input_vcf && + #if $input_file.metadata.tabix_index: + ln -s '${input_file.metadata.tabix_index}' ${input_vcf}.tbi && + #else + bcftools index $input_vcf && + #end if #elif $input_file.is_of_type('bcf') #set $input_vcf = 'input' + str($i) + '.bcf.gz' ln -s '$input_file' $input_vcf && @@ -90,8 +98,6 @@ #else bcftools index $input_vcf && #end if - #elif $input_file.is_of_type('bcfvcf_bgz') - ln -s '$input_file' $input_vcf && #end if echo '$input_vcf' >> $vcfs_list_file && $input_vcfs.append($input_vcf) @@ -106,7 +112,7 @@ - + - + @@ -165,7 +171,7 @@ - + #if 'estimate_AF' in $section and $section.estimate_AF: @@ -174,7 +180,7 @@ - + - + #if 'ploidy_file' in $section and $section.ploidy_file: @@ -208,7 +214,7 @@ - + @@ -224,8 +230,8 @@ - + ^([^ \t\n\r\f\v,]+(,[^ \t\n\r\f\v,]+)*)?$ @@ -271,13 +277,13 @@ - ^(\w+(:\d+(-\d+)?)?(,\w+(:\d+(-\d+)?)?)*)?$ - + @@ -346,7 +352,7 @@ - ^(\w+(:\d+(-\d+)?)?(,\w+(:\d+(-\d+)?)?)*)?$ @@ -373,16 +379,16 @@ - + ^(\w+(,\w+)*)?$ - - + help="Inverts the query/filtering applied by Samples (adds "^" prefix to exclude)" /> + + #set $samples_defined = False @@ -397,7 +403,7 @@ - + #if $section.sample: @@ -407,7 +413,7 @@ - + ^[^']*$ @@ -419,7 +425,7 @@ - + ^[^']*$ @@ -431,8 +437,8 @@ - + ^([^,]+(,[^,]+)*)?$ diff -r b641062a2587 -r baa8823f8073 test-data/summary.pdf Binary file test-data/summary.pdf has changed diff -r b641062a2587 -r baa8823f8073 test-data/view.bcf Binary file test-data/view.bcf has changed diff -r b641062a2587 -r baa8823f8073 test-data/view.bcf.csi Binary file test-data/view.bcf.csi has changed diff -r b641062a2587 -r baa8823f8073 test-data/view.vcf_bgzip Binary file test-data/view.vcf_bgzip has changed