# HG changeset patch # User devteam # Date 1484758019 18000 # Node ID 4089f1be1a719606c5d181f11ad99c9a39d4a117 # Parent c20a4a4acf3f3b9c44195786be6a32ceacf0036a planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools_filter commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01 diff -r c20a4a4acf3f -r 4089f1be1a71 bamtools-filter.xml --- a/bamtools-filter.xml Mon Nov 09 12:04:29 2015 -0500 +++ b/bamtools-filter.xml Wed Jan 18 11:46:59 2017 -0500 @@ -1,215 +1,212 @@ - - BAM datasets on a variety of attributes - - bamtools - - - cat $script_file > $out_file2; - - #for $bam_count, $input_bam in enumerate( $input_bams ): - ln -s "${input_bam}" "localbam_${bam_count}.bam" && - ln -s "${input_bam.metadata.bam_index}" "localbam_${bam_count}.bam.bai" && - #end for - - bamtools - filter - -script $script_file - - #for $bam_count, $input_bam in enumerate( $input_bams ): - -in "localbam_${bam_count}.bam" - #end for - -out $out_file1 - - - - - - - - - - - - - - - - - - - - - - - - ##Sets up a json configfile for bamtools filter - ##If there is more than one condition prints brackets and "filters:" - #if len( $conditions ) > 1 - { - "filters": - [ - #end if - #for $i, $c in enumerate( $conditions, start=1 ) - { "id": "$i", - #for $j, $s in enumerate( $c.filters, start=1 ) - ##The if below takes care of the comma at the end of last condition within group - #if $j != len( $c.filters) - "${s.bam_property.bam_property_selector}":"${s.bam_property.bam_property_value}", - #else - "${s.bam_property.bam_property_selector}":"${s.bam_property.bam_property_value}" - #end if - #end for - ##The if below takes care of the comma at the end of last condition within group - #if $i != len( $conditions ) - }, - #else - } - #end if - #end for - #if len( $conditions ) > 1 - #if str( $rule_configuration.rules_selector ) == "True": - ], - "rule" : "${rule_configuration.rules}" - #else - ] - #end if - } - #end if - - - - - - - + + + + + @@ -218,7 +215,7 @@ - + **What is does** BAMTools filter is a very powerful utility to perform complex filtering of BAM files. It is based on BAMtools suite of tools by Derek Barnett (https://github.com/pezmaster31/bamtools). @@ -318,8 +315,8 @@ Additional information about BAMtools can be found at https://github.com/pezmaster31/bamtools/wiki - - - 10.1093/bioinformatics/btr174 - + + + 10.1093/bioinformatics/btr174 + diff -r c20a4a4acf3f -r 4089f1be1a71 tool_dependencies.xml --- a/tool_dependencies.xml Mon Nov 09 12:04:29 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ - - - - - -