# HG changeset patch # User iuc # Date 1564437175 14400 # Node ID 365022dae1c9233aa3da11b28c3af57bae255a3a # Parent 9f281310c048803c03f541d629d12c4cd2d8c139 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 942ca2971ae6a72e548fde6186c6408a1e236653 diff -r 9f281310c048 -r 365022dae1c9 bcftools_annotate.xml --- a/bcftools_annotate.xml Wed Jun 05 12:45:20 2019 -0400 +++ b/bcftools_annotate.xml Mon Jul 29 17:52:55 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 9f281310c048 -r 365022dae1c9 test-data/annots.bcf Binary file test-data/annots.bcf has changed