# HG changeset patch # User wrtz # Date 1452811617 18000 # Node ID c511cd4b54e5e9a02f39c856917b44fa73787cfe # Parent 4f0ad5b55c62076bdc2bdb992bb245044a963e9d Uploaded diff -r 4f0ad5b55c62 -r c511cd4b54e5 bcftools_annotate.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bcftools_annotate.xml Thu Jan 14 17:46:57 2016 -0500 @@ -0,0 +1,132 @@ + + Add or remove annotations + + #if str( $input_file_index ) != "None": + ln -s -f $input input_file.${input.ext} && + ln -s -f $input_file_index input_file.${input.ext}.tbi && + #end if + #if str( $annotations_cond.set_annotations ) == "True": + ln -s -f $annotations_cond.annotations annot_file.${annotations_cond.annotations.ext} && + ln -s -f $annotations_cond.annotations_index annot_file.${annotations_cond.annotations.ext}.tbi && + #end if + /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools annotate + --output "${output_file}" + --output-type "${output_type}" + #if str( $regions_file ) != "None": + --regions-file "${regions_file}" + #end if + #if str( $annotations_cond.set_annotations ) == "True": + --annotations annot_file.${annotations_cond.annotations.ext} + #if str( $annotations_cond.columns ) != "": + --columns "${annotations_cond.columns}" + #end if + #if str( $annotations_cond.mark_sites_cond.set_mark_sites ) == "True": + --mark-sites + #if str( $annotations_cond.mark_sites_cond.present_or_absent ) == "present": + "+${annotations_cond.mark_sites_cond.new_tag}" + #else + "-${annotations_cond.mark_sites_cond.new_tag}" + #end if + #end if + #end if + #if str( $regions ) != "": + --regions "${regions}" + #end if + #if str( $samples_file ) != "None": + --samples-file "${samples_file}" + #end if + #if str( $samples ) != "": + --samples "${samples}" + #end if + #if str( $header_lines ) != "None": + --header-lines "${header_lines}" + #end if + #if str( $expr_cond.set_expr ) == "True": + #if str( $expr_cond.include_or_exclude ) == "include": + --include "${expr_cond.expr}" + #else + --exclude "${expr_cond.expr}" + #end if + #end if + #if str( $rename_chrs ) != "None": + --rename-chrs "${rename_chrs}" + #end if + #if str( $remove ) != "": + --remove "${remove}" + #end if + + #if str( $input_file_index ) != "None": + input_file.${input.ext} + #else + $input + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**About this tool** + +**BCFtools annotate**: Add or remove annotations. + +Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. + + \ No newline at end of file