# HG changeset patch # User iuc # Date 1550783193 18000 # Node ID 62ca6da715bff98ba98ed881c20fc2a864e9240b # Parent f430a1ec7ee4d9a1391d2e25aa147e0839015564 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69 diff -r f430a1ec7ee4 -r 62ca6da715bf bcftools_concat.xml --- a/bcftools_concat.xml Tue Dec 12 14:03:19 2017 -0500 +++ b/bcftools_concat.xml Thu Feb 21 16:06:33 2019 -0500 @@ -1,5 +1,5 @@ - + Concatenate or combine VCF/BCF files concat @@ -19,19 +19,19 @@ #set $section = $sec_default #if $section.mode.naive == "yes": - --naive -#else: - #if $section.mode.overlaps.allow_overlaps == 'yes': - --allow-overlaps - #if $section.mode.overlaps.rm_dups: - --rm-dups $section.mode.overlaps.rm_dups + --naive +#else: + #if $section.mode.overlaps.allow_overlaps == 'yes': + --allow-overlaps + #if $section.mode.overlaps.rm_dups: + --rm-dups $section.mode.overlaps.rm_dups + #end if #end if - #end if - ${section.mode.ligate} + ${section.mode.ligate} #end if ${section.compact_PS} -#if $section.min_PQ: - --min-PQ "${section.min_PQ}" +#if str($section.min_PQ): + --min-PQ ${section.min_PQ} #end if #set $section = $sec_restrict @@ -41,14 +41,13 @@ @THREADS@ ## Primary Input/Outputs -@INPUT_FILES@ +@INPUT_FILES@ #if $sec_default.mode.naive == "yes" and $output_type == 'v': -> output.gz && bcftools index output.gz && bcftools view -O v -o '$output_file' output.gz + > output.gz && bcftools index output.gz && bcftools view -O v -o '$output_file' output.gz #else: -> '$output_file' + > '$output_file' #end if -]]> - + ]]>
@@ -56,9 +55,9 @@
- + @@ -66,17 +65,17 @@ - + - First coordinate of the next file can precede last record of the current file. + First coordinate of the next file can precede last record of the current file. - + ]]> @@ -88,13 +87,13 @@ - - -
@@ -103,7 +102,7 @@ - + @@ -112,8 +111,8 @@ - - + + @@ -123,8 +122,8 @@ - - + + @@ -135,7 +134,7 @@ - + @@ -155,7 +154,7 @@ Concatenate or combine VCF/BCF files. All source files must have the same sample columns appearing in the same order. The program can be used, for example, to concatenate chromosome VCFs into one VCF, or combine a SNP VCF and an indel VCF into one. The input files must be sorted by chr and position. The files must be given in the correct order to produce sorted VCF on output unless the -a, --allow-overlaps option is specified. -Naive concatenation is useful when using a galaxy workflow that splits a BAM file by chromosome, processes each in parallel, then bcftools concat merges the results into a single VCF file: +Naive concatenation is useful when using a galaxy workflow that splits a BAM file by chromosome, processes each in parallel, then bcftools concat merges the results into a single VCF file: BAM -> bamtools split => bcftools mpileup => bcftools call => bcftools concat -> VCF @@ -165,7 +164,6 @@ @BCFTOOLS_MANPAGE@#@EXECUTABLE@ @BCFTOOLS_WIKI@ -]]> - + ]]>
diff -r f430a1ec7ee4 -r 62ca6da715bf macros.xml --- a/macros.xml Tue Dec 12 14:03:19 2017 -0500 +++ b/macros.xml Thu Feb 21 16:06:33 2019 -0500 @@ -1,5 +1,5 @@ - 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 f430a1ec7ee4 -r 62ca6da715bf test-data/summary.pdf Binary file test-data/summary.pdf has changed diff -r f430a1ec7ee4 -r 62ca6da715bf test-data/view.bcf Binary file test-data/view.bcf has changed diff -r f430a1ec7ee4 -r 62ca6da715bf test-data/view.bcf.csi Binary file test-data/view.bcf.csi has changed diff -r f430a1ec7ee4 -r 62ca6da715bf test-data/view.vcf_bgzip Binary file test-data/view.vcf_bgzip has changed