# HG changeset patch # User devteam # Date 1447088687 18000 # Node ID 10dcc80277785b69b658ad65c1a52e1d5d70e350 # Parent fc222996ce9b64c9986bc0ccfb9b0f6b7c48f0bd planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools_split commit 5a4e0ca9992af3a6e5ed2b533f04bb82ce761e0b diff -r fc222996ce9b -r 10dcc8027778 bamtools-split.xml --- a/bamtools-split.xml Mon Oct 12 11:57:54 2015 -0400 +++ b/bamtools-split.xml Mon Nov 09 12:04:47 2015 -0500 @@ -1,4 +1,4 @@ - + BAM datasets on variety of attributes bamtools @@ -6,37 +6,35 @@ echo "BAM" > $report && - + #for $bam_count, $input_bam in enumerate( $input_bams ): - ln -s "${input_bam.input_bam}" "localbam_${bam_count}.bam" && - ln -s "${input_bam.input_bam.metadata.bam_index}" "localbam_${bam_count}.bam.bai" && + ln -s "${input_bam}" "localbam_${bam_count}.bam" && + ln -s "${input_bam.metadata.bam_index}" "localbam_${bam_count}.bam.bai" && #end for - + bamtools split - + #if str ( $analysis_type.analysis_type_selector ) == "-tag" : - + ${analysis_type.analysis_type_selector} "${analysis_type.tag_name}" #else - + ${analysis_type.analysis_type_selector} - + #end if - + -stub split_bam - + #for $bam_count, $input_bam in enumerate( $input_bams ): -in "localbam_${bam_count}.bam" #end for - + - - - + @@ -52,7 +50,7 @@ - + - + @@ -68,7 +66,7 @@ - + @@ -89,19 +87,19 @@ **How it works** The following options can be specified via "**Split BAM dataset(s) by**" dropdown:: - + Mapping status (-mapped) split mapped/unmapped and generate two output files named (MAPPED) and (UNMAPPED) containing mapped and unmapped reads, respectively. - + Pairing status (-paired) split single-end/paired-end alignments and generate two output files named (SINGLE_END) and (PAIRED_END) containing paired and unpaired reads, respectively. - + Reference name (-reference) split alignments by reference name. In cases of unfinished genomes with very large number of reference sequences (scaffolds) it can generate thousands (if not millions) of output datasets. - + Specific tag (-tag) split alignments based on all values of TAG encountered. Choosing this option from the menu will allow you to enter the tag name. As was the case with the reference splitting above, this option can produce very