# HG changeset patch # User iuc # Date 1564438300 14400 # Node ID a80ec64f91013fc6c0962332442438e9c23f8efd # Parent 2f09d9744e0b8664967014336f9c5bc91c12d6fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 942ca2971ae6a72e548fde6186c6408a1e236653 diff -r 2f09d9744e0b -r a80ec64f9101 bcftools_annotate.xml --- a/bcftools_annotate.xml Wed Jun 05 13:07:23 2019 -0400 +++ b/bcftools_annotate.xml Mon Jul 29 18:11:40 2019 -0400 @@ -1,5 +1,5 @@ - + Annotate and edit VCF/BCF files annotate @@ -14,9 +14,19 @@ #set $annotation_hdr = None #set $section = $sec_annofile #if $section.annofile.anno_fmt == 'vcf': - #set $annotation_file = 'annotations.vcf.gz' - bgzip -c "$section.annofile.annotations" > $annotation_file && - bcftools index $annotation_file && + #if $section.annofile.annotations.is_of_type('vcf') + #set $annotation_file = 'annotations.vcf.gz' + bgzip -c "$section.annofile.annotations" > $annotation_file && + bcftools index $annotation_file && + #elif $section.annofile.annotations.is_of_type('bcf') + #set $annotation_file = 'annotations.bcf' + ln -s '$section.annofile.annotations' $annotation_file && + #if $section.annofile.annotations.metadata.bcf_index: + ln -s '${section.annofile.annotations.metadata.bcf_index}' ${annotation_file}.csi && + #else + bcftools index $annotation_file && + #end if + #end if #elif $section.annofile.anno_fmt == 'tab': #if $section.annofile.annotations.is_of_type('bed') #set $annotation_file = 'annotations.bed.gz' @@ -97,7 +107,7 @@ - + @@ -196,6 +206,19 @@ + + + + + + + + + + + + + diff -r 2f09d9744e0b -r a80ec64f9101 test-data/annots.bcf Binary file test-data/annots.bcf has changed