# HG changeset patch # User wrtz # Date 1452811665 18000 # Node ID 24fc012c3f0efbeb0237bc7859b942cfb8a06b79 # Parent 0e3e6581e6b1773680137a7b588a40f097815429 Uploaded diff -r 0e3e6581e6b1 -r 24fc012c3f0e bcftools_query.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bcftools_query.xml Thu Jan 14 17:47:45 2016 -0500 @@ -0,0 +1,107 @@ + + Output VCF/BCF fields in user-defined format + + #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 + + /Volumes/drive2/galaxy/dist/tools/bcftools/bcftools query + --output "${output_file}" + --format "${format}" + #if str( $regions_file ) != "None": + --regions-file "${regions_file}" + #end if + #if str( $regions ) != "": + --regions "${regions}" + #end if + #if str( $targets_file ) != "None": + --targets-file "${targets_file}" + #end if + #if str( $targets ) != "": + --targets "${targets}" + #end if + #if str( $samples_file ) != "None": + --samples-file "${samples_file}" + #end if + #if str( $samples ) != "": + --samples "${samples}" + #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( $collapse ) != "None": + --collapse "${collapse}" + #end if + ${print_header} + ${list_samples} + ${allow_undef_tags} + + #if str( $input_file_index ) != "None": + input_file.${input.ext} + #else + $input + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**About this tool** + +**BCFtools query**: Extract fields from VCF or BCF files and output them in user-defined format. + +Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. + + \ No newline at end of file