Repository 'rgrnastar'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/rgrnastar

Changeset 9:0a563fd2f22e (2019-03-14)
Previous changeset 8:d5659efd66aa (2018-06-09) Next changeset 10:d82339e37e8e (2019-08-15)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 361e5d7743be86c2ba6c207836c0c5b75e071eb7
modified:
rg_rnaStar.xml
added:
test-data/rnastar_test_splicejunctions_twopass.bed
test-data/rnastar_test_twopass.log
b
diff -r d5659efd66aa -r 0a563fd2f22e rg_rnaStar.xml
--- a/rg_rnaStar.xml Sat Jun 09 14:33:39 2018 -0400
+++ b/rg_rnaStar.xml Thu Mar 14 16:12:38 2019 -0400
b
b'@@ -1,10 +1,10 @@\n-<tool id="rna_star" name="RNA STAR" version="2.6.0b-1" profile="17.01">\n+<tool id="rna_star" name="RNA STAR" version="2.6.0b-2" profile="17.01">\n     <description>Gapped-read mapper for RNA-seq data</description>\n     <macros>\n         <import>macros.xml</import>\n     </macros>\n     <expand macro="requirements"/>\n-    \n+\n     <stdio>\n         <regex match="FATAL error" source="both" level="fatal"/>\n         <regex match="EXITING: FATAL INPUT ERROR:" source="both" level="fatal"/>\n@@ -143,7 +143,7 @@\n             --seedPerReadNmax "$params.seed.seedPerReadNmax"\n             --seedPerWindowNmax "$params.seed.seedPerWindowNmax"\n             --seedNoneLociPerWindow "$params.seed.seedNoneLociPerWindow"\n-        \n+\n             ## Alignment parameter options\n             --alignIntronMin "$params.align.alignIntronMin"\n             --alignIntronMax "$params.align.alignIntronMax"\n@@ -161,6 +161,9 @@\n             --twopassMode "$params.twopass.twopassMode"\n             #if str( $params.twopass.twopassMode ) == "Basic":\n                 --twopass1readsN "$params.twopass.twopass1readsN"\n+                #if not $refGenomeSource.sjdbGTFfile:\n+                    --sjdbOverhang \'$refGenomeSource.sjdbOverhang\'\n+                #end if\n             #end if\n \n             ## Chimeric alignment parameter options\n@@ -241,7 +244,7 @@\n                                 <validator type="no_options" message="No indexes are available for the selected input dataset"/>\n                             </options>\n                         </param>\n-                        \n+\n                         <expand macro="@SJDBOPTIONS@" />\n                     </when>\n                 </conditional>\n@@ -278,7 +281,7 @@\n                     <option value="RemoveInconsistentStrands" selected="true">Remove alignments that have junctions with inconsistent strands</option>\n                     <option value="None">No filtering</option>\n                 </param>\n-  \n+\n               <!-- Additional output parameter settings. -->\n               <conditional name="output_params2">\n                   <param name="output_select2" type="select" label="Would you like to set additional output parameters (formatting and filtering)?">\n@@ -321,7 +324,7 @@\n             </param>\n             <when value="default"/>\n             <when value="star_fusion"/><!-- Set STAR-fusion parameters automatically -->\n-  \n+\n             <when value="full">\n                 <section name="seed" title="Seed parameters" expanded="False">\n                     <param argument="--seedSearchStartLmax" type="integer" min="1" value="50" label="Search start point through the read"/>\n@@ -332,7 +335,7 @@\n                     <param argument="--seedPerWindowNmax" type="integer" min="1" value="50" label="Maximum number of seeds per window"/>\n                     <param argument="--seedNoneLociPerWindow" type="integer" min="1" value="10" label="Maximum number of one seed loci per window"/>\n                 </section>\n-    \n+\n                 <section name="align" title="Alignment parameters" expanded="False">\n                     <param argument="--alignIntronMin" name="alignIntronMin" type="integer" min="0" value="21" label="Minimum intron size"/>\n                     <param argument="--alignIntronMax" type="integer" min="0" value="0" label="Maximum intron size"/>\n@@ -358,7 +361,7 @@\n                     <param argument="--limitOutSJcollapsed" type="integer" min="1" value="1000000" label="Maximum number of collapsed junctions" />\n                     <param argument="--limitSjdbInsertNsj" type="integer" min="0" value="1000000" label="Maximum number of inserts to be inserted into the genome on the fly." />\n                 </section>\n-    \n+\n                 <conditional name="chim">\n                     <param name="chim_select" type="select" label="Would you like to set chimeric alignment parameters?">\n                         <option value="no" selected="true">No</option>\n@@ -404,7 +407,7 @@\n'..b'est_splicejunctions.bed"/>\n             <output name="mapped_reads" file="rnastar_test_mapped_reads.bam" compare="sim_size" delta="634" />\n@@ -441,7 +444,7 @@\n             <param name="outSAMattributes" value="All" />\n             <param name="outSAMstrandField" value="intronMotif" />\n             <param name="settingsType" value="default" />\n-            \n+\n             <output name="output_log" file="rnastar_test.log" compare="diff" lines_diff="12"/>\n             <output name="splice_junctions" file="rnastar_test_splicejunctions.bed"/>\n             <output name="mapped_reads" file="rnastar_test_mapped_reads.bam" compare="sim_size" delta="634" />\n@@ -452,12 +455,12 @@\n             <param name="geneSource" value="history" />\n             <param name="genomeFastaFiles" value="tophat_test.fa" />\n             <param name="sPaired" value="single" />\n-            \n+\n             <param name="output_select" value="yes" />\n             <param name="outSAMattributes" value="All" />\n             <param name="outSAMstrandField" value="intronMotif" />\n             <param name="outFilterIntronMotifs" value="RemoveNoncanonical" />\n-            \n+\n             <param name="output_select2" value="yes" />\n             <param name="outFilterScoreMinOverLread" value="0.9" />\n             <param name="settingsType" value="full" />\n@@ -508,11 +511,32 @@\n             <param name="output_select2" value="yes" />\n             <param name="settingsType" value="full" />\n             <param name="chim_select" value="false" />\n-            \n+\n             <output name="output_log" file="rnastar_test.log" compare="diff" lines_diff="12"/>\n             <output name="splice_junctions" file="rnastar_test_splicejunctions.bed"/>\n             <output name="mapped_reads" file="rnastar_test_mapped_reads.bam" compare="sim_size" delta="634" />\n         </test>\n+        <test>\n+            <param name="input1" value="tophat_in2.fastqsanger" ftype="fastqsanger" />\n+            <param name="geneSource" value="history" />\n+            <param name="genomeFastaFiles" value="tophat_test.fa" />\n+            <param name="sPaired" value="single" />\n+\n+            <param name="output_select" value="yes" />\n+            <param name="outSAMattributes" value="All" />\n+            <param name="outSAMstrandField" value="intronMotif" />\n+            <param name="outFilterIntronMotifs" value="RemoveNoncanonical" />\n+\n+            <param name="output_select2" value="yes" />\n+            <param name="settingsType" value="full" />\n+            <param name="twopass" value="true" />\n+            <param name="twopassMode" value="Basic" />\n+            <param name="chim_select" value="false" />\n+\n+            <output name="output_log" file="rnastar_test_twopass.log" compare="diff" lines_diff="12"/>\n+            <output name="splice_junctions" file="rnastar_test_splicejunctions_twopass.bed"/>\n+            <output name="mapped_reads" file="rnastar_test_mapped_reads.bam" compare="sim_size" delta="634" />\n+        </test>\n     </tests>\n     <help>\n **What it does**\n@@ -550,13 +574,12 @@\n \n Galaxy_ (that\'s what you are using right now!) for gluing everything together\n \n-Most of the work for this wrapper XML is Jeremy Goecks\' original STAR_ wrapper\n+Most of the work for this wrapper XML is Jeremy Goecks\' original STAR wrapper\n \n Minor tweaks to output names to suit our downstream purposes, toolshed automated dependencies\n and odds and ends of other code and documentation comprising this tool was\n written by Ross Lazarus and that part is licensed_ the same way as other rgenetics artefacts\n \n-.. _STAR: https://bitbucket.org/jgoecks/jeremys-code/raw/fa1930a689b8e2f6b59cc1706e5ba0ed8ad357be/galaxy/tool-wrappers/star.xml\n .. _licensed: http://creativecommons.org/licenses/by-nc-nd/3.0/\n .. _STAR-Fusion: https://github.com/STAR-Fusion/STAR-Fusion\n .. _recommended: https://github.com/STAR-Fusion/STAR-Fusion/wiki#alternatively-running-star-yourself-and-then-running-star-fusion-using-the-existing-outputs\n'
b
diff -r d5659efd66aa -r 0a563fd2f22e test-data/rnastar_test_splicejunctions_twopass.bed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/rnastar_test_splicejunctions_twopass.bed Thu Mar 14 16:12:38 2019 -0400
b
@@ -0,0 +1,2 @@
+test_chromosome 251 350 1 1 1 30 0 37
+test_chromosome 401 500 1 1 1 26 0 36
b
diff -r d5659efd66aa -r 0a563fd2f22e test-data/rnastar_test_twopass.log
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/rnastar_test_twopass.log Thu Mar 14 16:12:38 2019 -0400
b
@@ -0,0 +1,34 @@
+                                 Started job on | Feb 12 11:19:46
+                             Started mapping on | Feb 12 11:20:03
+                                    Finished on | Feb 12 11:20:03
+       Mapping speed, Million of reads per hour | inf
+
+                          Number of input reads | 100
+                      Average input read length | 75
+                                    UNIQUE READS:
+                   Uniquely mapped reads number | 99
+                        Uniquely mapped reads % | 99.00%
+                          Average mapped length | 74.84
+                       Number of splices: Total | 56
+            Number of splices: Annotated (sjdb) | 56
+                       Number of splices: GT/AG | 56
+                       Number of splices: GC/AG | 0
+                       Number of splices: AT/AC | 0
+               Number of splices: Non-canonical | 0
+                      Mismatch rate per base, % | 2.01%
+                         Deletion rate per base | 0.00%
+                        Deletion average length | 0.00
+                        Insertion rate per base | 0.00%
+                       Insertion average length | 0.00
+                             MULTI-MAPPING READS:
+        Number of reads mapped to multiple loci | 1
+             % of reads mapped to multiple loci | 1.00%
+        Number of reads mapped to too many loci | 0
+             % of reads mapped to too many loci | 0.00%
+                                  UNMAPPED READS:
+       % of reads unmapped: too many mismatches | 0.00%
+                 % of reads unmapped: too short | 0.00%
+                     % of reads unmapped: other | 0.00%
+                                  CHIMERIC READS:
+                       Number of chimeric reads | 0
+                            % of chimeric reads | 0.00%