# HG changeset patch # User devteam # Date 1450482622 18000 # Node ID fed480fea9f0bf5e850dae31df4a177eaff530c0 # Parent 2ac3209cff003e7ed4a21e70ac78591f6d21642b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/bowtie2 commit de7140295cce07e1bc1697e51dab4271c8d7a8a6 diff -r 2ac3209cff00 -r fed480fea9f0 bowtie2_wrapper.xml --- a/bowtie2_wrapper.xml Wed Nov 18 09:52:21 2015 -0500 +++ b/bowtie2_wrapper.xml Fri Dec 18 18:50:22 2015 -0500 @@ -1,4 +1,4 @@ - + - map reads against reference genome read_group_macros.xml @@ -167,6 +167,11 @@ ${analysis_type.cline} #end if + ## mapping stats (i.e. stderr from bowtie2) + #if $save_mapping_stats + 2> "$mapping_stats" + #end if + ## output file #if ( str( $analysis_type.analysis_type_selector ) != "full" or str( $analysis_type.sam_opt ) != "true" ): | samtools view -Su - | samtools sort -o - - > $output @@ -430,6 +435,7 @@ + @@ -517,6 +523,9 @@ + + save_mapping_stats is True + @@ -550,6 +559,21 @@ + + + + + + + + + + + + + + + diff -r 2ac3209cff00 -r fed480fea9f0 test-data/bowtie2-stats.out --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/bowtie2-stats.out Fri Dec 18 18:50:22 2015 -0500 @@ -0,0 +1,15 @@ +100 reads; of these: + 100 (100.00%) were paired; of these: + 97 (97.00%) aligned concordantly 0 times + 3 (3.00%) aligned concordantly exactly 1 time + 0 (0.00%) aligned concordantly >1 times + ---- + 97 pairs aligned concordantly 0 times; of these: + 8 (8.25%) aligned discordantly 1 time + ---- + 89 pairs aligned 0 times concordantly or discordantly; of these: + 178 mates make up the pairs; of these: + 153 (85.96%) aligned 0 times + 25 (14.04%) aligned exactly 1 time + 0 (0.00%) aligned >1 times +23.50% overall alignment rate diff -r 2ac3209cff00 -r fed480fea9f0 tool_dependencies.xml --- a/tool_dependencies.xml Wed Nov 18 09:52:21 2015 -0500 +++ b/tool_dependencies.xml Fri Dec 18 18:50:22 2015 -0500 @@ -1,9 +1,9 @@ - + - +