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

Changeset 18:764756ab0eb5 (2018-03-26)
Previous changeset 17:40e1083a4430 (2017-11-14) Next changeset 19:fbf98f24097b (2018-04-10)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
modified:
hisat2.xml
b
diff -r 40e1083a4430 -r 764756ab0eb5 hisat2.xml
--- a/hisat2.xml Tue Nov 14 05:28:49 2017 -0500
+++ b/hisat2.xml Mon Mar 26 17:23:52 2018 -0400
b
@@ -233,8 +233,8 @@
     --np ${adv.scoring_options.ambiguous_penalty}
     --rdg ${adv.scoring_options.read_open_penalty},${adv.scoring_options.read_extend_penalty}
     --rfg ${adv.scoring_options.ref_open_penalty},${adv.scoring_options.ref_extend_penalty}
-    --sp ${scoring_options.soft_clip_penalty_max},${adv.scoring_options.soft_clip_penalty_min}
-    --score-min ${scoring_options.function_type},${adv.scoring_options.constant_term},${adv.scoring_options.coefficient}
+    --sp ${adv.scoring_options.soft_clip_penalty_max},${adv.scoring_options.soft_clip_penalty_min}
+    --score-min ${adv.scoring_options.function_type},${adv.scoring_options.constant_term},${adv.scoring_options.coefficient}
 #end if
 
 
@@ -575,6 +575,16 @@
             <param name="input_2" ftype="fastqsanger" value="hisat_input_1_reverse.fastq" />
             <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
         </test>
+        <!-- Ensure advanced scoring options work -->
+        <test expect_num_outputs="1" >
+            <param name="type" value="paired" />
+            <param name="source" value="history" />
+            <param name="history_item" ftype="fasta" value="phiX.fa" />
+            <param name="input_1" ftype="fastqsanger" value="hisat_input_1_forward.fastq" />
+            <param name="input_2" ftype="fastqsanger" value="hisat_input_1_reverse.fastq" />
+            <param name="adv|scoring_options|coefficient" value="-0.3"/>
+            <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
+        </test>
         <!-- Ensure built-in reference works -->
         <test expect_num_outputs="1">
             <param name="type" value="paired" />