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

Changeset 13:f4fa77189eb0 (2017-07-18)
Previous changeset 12:2ec097c8e843 (2017-04-10) Next changeset 14:526b91fbde60 (2017-07-19)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 24fd129248023df91579027d9061468d01fc2350
modified:
hisat2.xml
hisat2_macros.xml
b
diff -r 2ec097c8e843 -r f4fa77189eb0 hisat2.xml
--- a/hisat2.xml Mon Apr 10 23:28:31 2017 -0400
+++ b/hisat2.xml Tue Jul 18 14:25:13 2017 -0400
[
b'@@ -1,5 +1,5 @@\n <?xml version="1.0"?>\n-<tool id="hisat2" name="HISAT2" version="2.0.5.1" profile="17.01">\n+<tool id="hisat2" name="HISAT2" version="2.0.5.2" profile="17.01">\n     <description>A fast and sensitive alignment program</description>\n     <macros>\n         <import>hisat2_macros.xml</import>\n@@ -86,10 +86,13 @@\n         #end if\n         #if str($alignment_options.alignment_options_selector) == "advanced":\n             --n-ceil ${alignment_options.function_type},${alignment_options.constant_term},${alignment_options.coefficient}\n-            ${alignment_options.skip_forward} ${alignment_options.skip_reverse} ${alignment_options.ignore_quals}\n+            ${alignment_options.ignore_quals}\n+            ${alignment_options.skip_forward}\n+            ${alignment_options.skip_reverse}\n         #end if\n         #if str($spliced_options.spliced_options_selector) == "advanced":\n-            --pen-cansplice ${spliced_options.canonical_penalty} --pen-noncansplice ${spliced_options.noncanonical_penalty}\n+            --pen-cansplice ${spliced_options.canonical_penalty}\n+            --pen-noncansplice ${spliced_options.noncanonical_penalty}\n             --pen-canintronlen ${spliced_options.function_type},${spliced_options.constant_term},${spliced_options.coefficient}\n             --pen-noncanintronlen ${spliced_options.nc_function_type},${spliced_options.nc_constant_term},${spliced_options.nc_coefficient}\n             #if str($spliced_options.known_splice_gtf) != \'None\':\n@@ -167,7 +170,14 @@\n             </param>\n             <when value="defaults" />\n             <when value="advanced">\n-                <expand macro="function" helptext="Sets a function governing the maximum number of ambiguous characters" />\n+                <param name="function_type" argument="--n-ceil" type="select" display="radio" label="Function governing the maximum number of ambiguous characters (usually Ns and/or .s) allowed in a read as a function of read length" help="Reads exceeding this ceiling are filtered out">\n+                    <option value="C">Constant [f(x) = B]</option>\n+                    <option value="L" selected="true">Linear [f(x) = B + A * x]</option>\n+                    <option value="S">Square root [f(x) = B + A * x&#178;]</option>\n+                    <option value="G">Natural logarithm [f(x) = B + A * log(x)]</option>\n+                </param>\n+                <param name="constant_term" type="float" value="0" label="Constant term (B)" help="Constant term for the above function" />\n+                <param name="coefficient" type="float" value="0.15" label="Coefficient (A)" help="Coefficient for the above function" />\n                 <param argument="--ignore-quals" name="ignore_quals" type="boolean" truevalue="--ignore-quals" falsevalue="" label="Ignore quality values" help="When calculating a mismatch penalty, always consider the quality value at the mismatched position to be the highest possible, regardless of the actual value. I.e. input is treated as though all quality values are high. This is also the default behavior when the input doesn\'t specify quality values" />\n                 <param argument="--nofw" name="skip_forward" type="boolean" truevalue="--nofw" falsevalue="" label="Skip forward strand of reference" help="If --nofw is specified, hisat2 will not attempt to align unpaired reads to the forward (Watson) reference strand. In paired-end mode, --nofw and --norc pertain to the fragments; i.e. specifying --nofw causes hisat2 to explore only those paired-end configurations corresponding to fragments from the reverse-complement (Crick) strand" />\n                 <param argument="--norc" name="skip_reverse" type="boolean" truevalue="--norc" falsevalue="" label="Skip reverse strand of reference" help="If --norc is specified, hisat2 will not attempt to align unpaired reads against the reverse-complement (Crick) reference strand. In paired-end mode, --nofw and --norc pertain to the fragments; i.e. specifying --norc cau'..b'alue="3" label="Penalty for non-canonical splice sites" />\n-                <param name="function_type" type="select" display="radio" label="Penalty for long introns with canonical splice sites">\n-                    <option value="C">Constant</option>\n-                    <option value="L">Linear [f(x) = y + z * x]</option>\n-                    <option value="S">Square root [f(x) = y + z * x&#178;]</option>\n-                    <option value="G">Natural logarithm [f(x) = y + z * log(x)]</option>\n+                <param name="canonical_penalty" argument="--pen-cansplice" type="integer" value="0" label="Penalty for canonical splice sites" />\n+                <param name="noncanonical_penalty" argument="--pen-noncansplice" type="integer" value="12" label="Penalty for non-canonical splice sites" />\n+                <param name="function_type" argument="--pen-canintronlen" type="select" display="radio" label="Penalty function for long introns with canonical splice sites" help="Alignments with shorter introns are preferred to those with longer ones">\n+                    <option value="C">Constant [f(x) = B]</option>\n+                    <option value="L">Linear [f(x) = B + A * x]</option>\n+                    <option value="S">Square root [f(x) = B + A * x&#178;]</option>\n+                    <option value="G" selected="true">Natural logarithm [f(x) = B + A * log(x)]</option>\n                 </param>\n-                <param name="constant_term" type="integer" value="0" label="Constant term (y)" help="Constant term for long canonical introns" />\n-                <param name="coefficient" type="integer" value="0" label="Coefficient (z)" help="Coefficient for long canonical introns" />\n-                <param name="nc_function_type" type="select" display="radio" label="Penalty for long introns with noncanonical splice sites">\n-                    <option value="C">Constant</option>\n-                    <option value="L">Linear [f(x) = y + z * x]</option>\n-                    <option value="S">Square root [f(x) = y + z * x&#178;]</option>\n-                    <option value="G" selected="True">Natural logarithm [f(x) = y + z * log(x)]</option>\n+                <param name="constant_term" type="float" value="-8" label="Constant term (B)" help="Constant term for the above function" />\n+                <param name="coefficient" type="float" value="1" label="Coefficient (A)" help="Coefficient for the above function" />\n+                <param name="nc_function_type" argument="--pen-noncanintronlen" type="select" display="radio" label="Penalty function for long introns with non-canonical splice sites" help="Alignments with shorter introns are preferred to those with longer ones">\n+                    <option value="C">Constant [f(x) = B]</option>\n+                    <option value="L">Linear [f(x) = B + A * x]</option>\n+                    <option value="S">Square root [f(x) = B + A * x&#178;]</option>\n+                    <option value="G" selected="true">Natural logarithm [f(x) = B + A * log(x)]</option>\n                 </param>\n-                <param name="nc_constant_term" type="integer" value="-8" label="Constant term (y)" help="Constant term for long non-canonical introns" />\n-                <param name="nc_coefficient" type="integer" value="1" label="Coefficient (z)" help="Coefficient for long non-canonical introns" />\n+                <param name="nc_constant_term" type="float" value="-8" label="Constant term (B)" help="Constant term for the above function" />\n+                <param name="nc_coefficient" type="float" value="1" label="Coefficient (A)" help="Coefficient for the above function" />\n                 <param name="min_intron" type="integer" value="20" label="Minimum intron length" />\n                 <param name="max_intron" type="integer" value="500000" label="Maximum intron length" />\n                 <param argument="--rna-strandness" name="rna_strandness" type="select" label="Specify strand-specific information"\n'
b
diff -r 2ec097c8e843 -r f4fa77189eb0 hisat2_macros.xml
--- a/hisat2_macros.xml Mon Apr 10 23:28:31 2017 -0400
+++ b/hisat2_macros.xml Tue Jul 18 14:25:13 2017 -0400
[
@@ -1,15 +1,5 @@
 <?xml version="1.0"?>
 <macros>
-    <xml name="function" tokens="helptext">
-        <param display="radio" help="@HELPTEXT@" label="Function type" name="function_type" type="select">
-            <option value="C">Constant</option>
-            <option value="L">Linear [f(x) = y + z * x]</option>
-            <option value="S">Square root [f(x) = y + z * x&#178;]</option>
-            <option value="G">Natural logarithm [f(x) = y + z * log(x)]</option>
-        </param>
-        <param help="@HELPTEXT@" label="Constant term (y)" name="constant_term" type="integer" value="0" />
-        <param help="@HELPTEXT@" label="Coefficient (z)" name="coefficient" type="integer" value="0" />
-    </xml>
     <xml name="single_paired_selector">
         <param label="Single end or paired reads?" name="paired_selector" type="select">
             <option value="paired_collection">Collection of paired reads</option>