# HG changeset patch # User wrtz # Date 1452811632 18000 # Node ID cd5b729e6cc30cc1832b92ad86982b18d56fb0c1 # Parent 7511152cc0470282f9e82c92dadd70cb0e218c43 Uploaded diff -r 7511152cc047 -r cd5b729e6cc3 bcftools_filter.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bcftools_filter.xml Thu Jan 14 17:47:12 2016 -0500 @@ -0,0 +1,134 @@ + + Apply fixed-threshold filters + + #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 filter + --output "${output_file}" + --output-type "${output_type}" + #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( $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( $mode_plus ) == "true": + #if str( $mode_x ) == "true": + --mode +x + #else + --mode + + #end if + #elif str( $mode_x ) == "true" + --mode x + #end if + #if str( $soft_filter_cond.set_soft_filter ) == "True": + #if str( $soft_filter_cond.string_or_plus_cond.string_or_plus ) == "use_plus": + --soft-filter + + #else + --soft-filter "${soft_filter_cond.string_or_plus_cond.str}" + #end if + #end if + #if str( $set_gts_cond.set_gts ) == "True": + #if str( $set_gts_cond.gts ) == "period": + --set-GTs . + #else + --set-GTs 0 + #end if + #end if + + #if str( $input_file_index ) != "None": + input_file.${input.ext} + #else + $input + #end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**About this tool** + +**BCFtools filter**: Apply fixed-threshold filters. + +Please see https://samtools.github.io/bcftools/bcftools.html for more info on options. + + \ No newline at end of file