# HG changeset patch # User iuc # Date 1764663740 0 # Node ID 9a260f6fab939cf1c4f4a0e4cd0c3a4076a8acba # Parent 8aa352093d7312401c68a684cc97a68896f4db46 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/bcftools commit f6efda26965eb73c9107d367fd5ffdf246ed0dbc diff -r 8aa352093d73 -r 9a260f6fab93 bcftools_consensus.xml --- a/bcftools_consensus.xml Sun Aug 18 10:23:11 2024 +0000 +++ b/bcftools_consensus.xml Tue Dec 02 08:22:20 2025 +0000 @@ -1,136 +1,219 @@ - Create consensus sequence by applying VCF variants to a reference fasta file consensus macros.xml - + - gawk + gawk - + /)) {if (i==1) {name="${basename}"} else {name=sprintf("%s-%d","${basename}",i);} print(gensub(/>[^ ]+( ?.*)/, ">" name "\\1", 1)); i=i+1;} else {print}}' > '$output_file' + #set basename=$input_file.element_identifier + | awk 'BEGIN {i=1} {if (match($0, /^>/)) {if (i==1) {name="${basename}"} else {name=sprintf("%s-%d","${basename}",i);} print(gensub(/>[^ ]+( ?.*)/, ">" name "\\1", 1)); i=i+1;} else {print}}' > '$output_file' #end if ]]> - - -
- - - - - - - - - - - - - - [0-9a-zA-Z_]+ + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + ^.$ - - - - + + ^.$ + + + + + + + - - - - - - - - - - [0-9a-zA-Z_]+ + + + + + + + + + + + + + + + + + + + + + +
- - - - - - - - - - -
- - +
+ + +
+ + @@ -140,103 +223,172 @@ - - - - + + +
+ +
+ - + - +
- - - - + + +
+ +
+ - + - +
- - - - - + + +
+ +
+ + - + - +
- - + + + + +
- +
- +
- - + + + + + +
+ +
- +
- - + + + + + + +
+ + + + + + +
+ + + + + + + +
+
+ +
+ + + - + + +
- - - + + +
+ + +
- -
-
- - - + + + + + + + +
- + + - - - - - +
+ + + +
+ + +
+
+ + + + + + + + + +
+ + + + + +
- + diff -r 8aa352093d73 -r 9a260f6fab93 macros.xml --- a/macros.xml Sun Aug 18 10:23:11 2024 +0000 +++ b/macros.xml Tue Dec 02 08:22:20 2025 +0000 @@ -1,7 +1,7 @@ - 1.15.1 - 4 - 20.01 + 1.22 + 0 + 24.1 bcftools @@ -10,15 +10,15 @@ bcftools - htslib + htslib - samtools + samtools - matplotlib + matplotlib bcftools 2>&1 | grep 'Version:' @@ -30,16 +30,11 @@ - https://github.com/samtools/bcftools/wiki - http://samtools.github.io/bcftools/bcftools.html + https://samtools.github.io/bcftools/howtos/index.html + https://www.htslib.org/doc/bcftools.html --threads \${GALAXY_SLOTS:-4} - - - + + + + + + + + + + + + + + + + + + @@ -345,7 +389,7 @@ #set $start = str($i.start).strip() #set $stop = str($i.stop).strip() #if $start or $stop: - $components.append($chrom + ':' + ($start or '0') + '-' + $stop) + $components.append($chrom + ':' + ($start or '1') + '-' + $stop) #else: $components.append($chrom) #end if @@ -357,18 +401,14 @@ @@ -417,7 +462,7 @@ - + + + + + + + + + + + + value.strip() and value[0] not in "^," and ",," not in value + + + + + + + + + + #set $samples_defined = False #if str($section.samples) != '': @@ -478,8 +543,8 @@ #end if - - + + #if $section.sample: