annotate hisat2.xml @ 26:0c16cad5e03b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
author iuc
date Sat, 03 Aug 2019 06:09:26 -0400
parents 3fb01a8c902d
children a86e80d3c09c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
1 <tool id="hisat2" name="HISAT2" version="2.1.0+galaxy5" profile="17.01">
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
2 <description>A fast and sensitive alignment program</description>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
3 <macros>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
4 <import>hisat2_macros.xml</import>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
5 </macros>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
6 <requirements>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
7 <requirement type="package" version="2.1.0">hisat2</requirement>
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
8 <requirement type="package" version="1.9">samtools</requirement>
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
9 <requirement type="package" version="1.3">seqtk</requirement>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
10 </requirements>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
11 <stdio>
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
12 <regex level="fatal" match="hisat2-align exited with value 1" source="both" />
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
13 <regex level="fatal" match="hisat2: not found" source="both" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
14 <exit_code range="1:" />
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
15 </stdio>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
16 <version_command>hisat2 --version</version_command>
8
4d0a3173cde0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 379063161020578e1bd306769116c1b691216b35
iuc
parents: 7
diff changeset
17 <command><![CDATA[
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
18 ## Prepare HISAT2 index
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
19
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
20 #if $reference_genome.source == "history":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
21 ln -s '$reference_genome.history_item' genome.fa &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
22 hisat2-build -p \${GALAXY_SLOTS:-1} genome.fa genome &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
23 #set index_path = 'genome'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
24 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
25 #set index_path = $reference_genome.index.fields.path
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
26 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
27
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
28
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
29 ## If using known splice sites
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
30
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
31 #if str($adv.spliced_options.spliced_options_selector) == "advanced" and str($adv.spliced_options.known_splice_gtf) != 'None':
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
32 ln -s '${adv.spliced_options.known_splice_gtf}' splice_sites.gtf &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
33 hisat2_extract_splice_sites.py splice_sites.gtf > splice_sites.txt &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
34 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
35
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
36
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
37 ## Link in the input files, so HISAT2 can tell their type
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
38
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
39 #set compressed="False"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
40 #set reads_are_fastq = True
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
41
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
42 #if str($library.type) == 'paired':
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
43 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
44 #set read1 = "input_f.fastq.gz"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
45 #set compressed = "GZ"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
46 #elif $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
47 #set read1 = "input_f.fastq.bz2"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
48 #set compressed = "BZ2"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
49 #elif $library.input_1.is_of_type('fasta'):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
50 #set reads_are_fastq = False
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
51 #set read1 = "input_f.fasta"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
52 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
53 #set read1 = "input_f.fastq"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
54 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
55 ln -f -s '${library.input_1}' ${read1} &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
56
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
57 #if $library.input_2.is_of_type("fastq.gz", "fastqsanger.gz"):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
58 #set read2 = "input_r.fastq.gz"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
59 #set compressed = "GZ"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
60 #elif $library.input_2.is_of_type("fastq.bz2", "fastqsanger.bz2"):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
61 #set read2 = "input_r.fastq.bz2"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
62 #set compressed = "BZ2"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
63 #elif $library.input_2.is_of_type('fasta'):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
64 #set read2 = "input_r.fasta"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
65 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
66 #set read2 = "input_r.fastq"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
67 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
68 ln -f -s '${library.input_2}' ${read2} &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
69
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
70 #elif str($library.type) == 'paired_collection':
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
71 #if $library.input_1.forward.is_of_type("fastq.gz", "fastqsanger.gz"):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
72 #set read1 = "input_f.fastq.gz"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
73 #set compressed = "GZ"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
74 #elif $library.input_1.forward.is_of_type("fastq.bz2", "fastqsanger.bz2"):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
75 #set read1 = "input_f.fastq.bz2"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
76 #set compressed = "BZ2"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
77 #elif $library.input_1.forward.is_of_type('fasta'):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
78 #set reads_are_fastq = False
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
79 #set read1 = "input_f.fasta"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
80 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
81 #set read1 = "input_f.fastq"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
82 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
83 ln -s '${library.input_1.forward}' ${read1} &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
84
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
85 #if $library.input_1.reverse.is_of_type("fastq.gz", "fastqsanger.gz"):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
86 #set read2 = "input_r.fastq.gz"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
87 #set compressed = "GZ"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
88 #elif $library.input_1.reverse.is_of_type("fastq.bz2", "fastqsanger.bz2"):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
89 #set read2 = "input_r.fastq.bz2"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
90 #set compressed = "BZ2"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
91 #elif $library.input_1.reverse.is_of_type("fasta"):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
92 #set read2 = "input_r.fasta"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
93 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
94 #set read2 = "input_r.fastq"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
95 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
96 ln -s '${library.input_1.reverse}' ${read2} &&
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
97 #elif str( $library.type ) == "paired_interleaved":
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
98 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
99 #set interleaved_reads = "input_f.fastq.gz"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
100 #set compressed = "GZ"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
101 #elif $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
102 #set interleaved_reads = "input_f.fastq.bz2"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
103 #set compressed = "BZ2"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
104 #elif $library.input_1.is_of_type('fasta'):
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
105 #set reads_are_fastq = False
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
106 #set interleaved_reads = "input_f.fasta"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
107 #else:
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
108 #set interleaved_reads = "input_f.fastq"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
109 #end if
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
110 ln -f -s '${library.input_1}' ${interleaved_reads} &&
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
111 #if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
112 #set read1 = "<(bzcat input_f.fastq.bz2 | seqtk seq -1 /dev/stdin)"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
113 #set read2 = "<(bzcat input_f.fastq.bz2 | seqtk seq -2 /dev/stdin)"
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
114 #else:
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
115 #set read1 = "<(seqtk seq -1 %s)" % $interleaved_reads
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
116 #set read2 = "<(seqtk seq -2 %s)" % $interleaved_reads
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
117 #end if
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
118 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
119 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
120 #set read1 = "input_f.fastq.gz"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
121 #set compressed = "GZ"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
122 #elif $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
123 #set read1 = "input_f.fastq.bz2"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
124 #set compressed = "BZ2"
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
125 #elif $library.input_1.is_of_type('fasta'):
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
126 #set reads_are_fastq = False
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
127 #set read1 = "input_f.fasta"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
128 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
129 #set read1 = "input_f.fastq"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
130 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
131 ln -f -s '${library.input_1}' ${read1} &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
132 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
133
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
134
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
135 ## Run HISAT2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
136
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
137 hisat2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
138
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
139 ## number threads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
140 -p \${GALAXY_SLOTS:-1}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
141
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
142 ## ref genome index path
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
143 -x '${index_path}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
144
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
145 ## input reads are fasta?
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
146 #if not $reads_are_fastq:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
147 -f
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
148 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
149
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
150 ## Input reads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
151
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
152 #if str( $library.type ) == "single":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
153
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
154 -U '${read1}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
155
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
156 #if str($adv.output_options.output_options_selector) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
157 #if str( $adv.output_options.unaligned_file ) == "true":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
158 #if $compressed == "GZ":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
159 --un-gz '$output_unaligned_reads_l'
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
160 #elif $compressed == "BZ2":
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
161 --un-bz2 '$output_unaligned_reads_l'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
162 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
163 --un '$output_unaligned_reads_l'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
164 #end if
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
165 #end if
10
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
166
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
167 #if str( $adv.output_options.aligned_file ) == "true":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
168 #if $compressed == "GZ":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
169 --al-gz '$output_aligned_reads_l'
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
170 #elif $compressed == "BZ2":
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
171 --al-bz2 '$output_aligned_reads_l'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
172 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
173 --al '$output_aligned_reads_l'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
174 #end if
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
175 #end if
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
176 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
177
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
178 #else:
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
179 ##quotes are embedded in r1 and r2 variables, needed to allow use of <()
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
180 #if str( $library.type ) == "paired_interleaved":
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
181 -1 ${read1}
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
182 -2 ${read2}
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
183 #else:
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
184 -1 '${read1}'
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
185 -2 '${read2}'
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
186 #end if
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
187 #if str($adv.output_options.output_options_selector) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
188 #if str( $adv.output_options.unaligned_file ) == "true":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
189 #if $compressed == "GZ":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
190 --un-conc-gz '${output_unaligned_reads_l}'
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
191 #elif $compressed == "BZ2":
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
192 --un-conc-bz2 '${output_unaligned_reads_l}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
193 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
194 --un-conc '${output_unaligned_reads_l}'
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
195 #end if
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
196 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
197
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
198 #if str( $adv.output_options.aligned_file ) == "true":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
199 #if $compressed == "GZ":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
200 --al-conc-gz '${output_aligned_reads_l}'
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
201 #elif $compressed == "BZ2":
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
202 --al-conc-bz2 '${output_aligned_reads_l}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
203 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
204 --al-conc '${output_aligned_reads_l}'
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
205 #end if
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
206 #end if
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
207 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
208
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
209 #if str($library.paired_options.paired_options_selector) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
210 ${library.paired_options.fr_rf_ff}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
211 ${library.paired_options.no_mixed}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
212 ${library.paired_options.no_discordant}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
213 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
214
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
215 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
216
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
217
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
218 ## Specify strandedness of reads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
219
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
220 #if str($library.rna_strandness):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
221 --rna-strandness ${library.rna_strandness}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
222 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
223
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
224
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
225 ## Input options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
226
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
227 #if str($adv.input_options.input_options_selector) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
228 #if int( $adv.input_options.skip ) > 0:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
229 --skip ${adv.input_options.skip}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
230 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
231 #if int( $adv.input_options.qupto ) > 0:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
232 --qupto ${adv.input_options.qupto}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
233 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
234 --trim5 '${adv.input_options.trim5}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
235 --trim3 '${adv.input_options.trim3}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
236 ${adv.input_options.qv_encoding}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
237 ${adv.input_options.solexa_quals}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
238 ${adv.input_options.int_quals}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
239 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
240
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
241
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
242 ## Alignment options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
243
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
244 #if str($adv.alignment_options.alignment_options_selector) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
245 --n-ceil ${adv.alignment_options.function_type},${adv.alignment_options.constant_term},${adv.alignment_options.coefficient}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
246 ${adv.alignment_options.ignore_quals}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
247 ${adv.alignment_options.skip_forward}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
248 ${adv.alignment_options.skip_reverse}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
249 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
250
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
251
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
252 ## Scoring options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
253
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
254 #if str($adv.scoring_options.scoring_options_selector) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
255 --mp ${adv.scoring_options.max_mismatch},${adv.scoring_options.min_mismatch}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
256 ${adv.scoring_options.no_softclip}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
257 --np ${adv.scoring_options.ambiguous_penalty}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
258 --rdg ${adv.scoring_options.read_open_penalty},${adv.scoring_options.read_extend_penalty}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
259 --rfg ${adv.scoring_options.ref_open_penalty},${adv.scoring_options.ref_extend_penalty}
18
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
260 --sp ${adv.scoring_options.soft_clip_penalty_max},${adv.scoring_options.soft_clip_penalty_min}
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
261 --score-min ${adv.scoring_options.function_type},${adv.scoring_options.constant_term},${adv.scoring_options.coefficient}
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
262 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
263
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
264
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
265 ## Spliced alignment options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
266
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
267 #if str($adv.spliced_options.spliced_options_selector) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
268 --pen-cansplice ${adv.spliced_options.canonical_penalty}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
269 --pen-noncansplice ${adv.spliced_options.noncanonical_penalty}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
270 --pen-canintronlen ${adv.spliced_options.function_type},${adv.spliced_options.constant_term},${adv.spliced_options.coefficient}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
271 --pen-noncanintronlen ${adv.spliced_options.nc_function_type},${adv.spliced_options.nc_constant_term},${adv.spliced_options.nc_coefficient}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
272 #if str($adv.spliced_options.known_splice_gtf) != 'None':
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
273 --known-splicesite-infile splice_sites.txt
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
274 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
275 ${adv.spliced_options.no_spliced_alignment_options.no_spliced_alignment}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
276 #if $adv.spliced_options.no_spliced_alignment_options.no_spliced_alignment == '--no-spliced-alignment'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
277 -I ${adv.spliced_options.no_spliced_alignment_options.minins}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
278 -X ${adv.spliced_options.no_spliced_alignment_options.maxins}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
279 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
280 --min-intronlen ${adv.spliced_options.min_intron}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
281 --max-intronlen ${adv.spliced_options.max_intron}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
282 ${adv.spliced_options.tma}
25
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
283
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
284 #if str($adv.spliced_options.novel_splicesite_outfile) == "true":
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
285 --novel-splicesite-outfile '$novel_splicesite_output'
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
286 #end if
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
287
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
288 #if str($adv.spliced_options.notmplen):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
289 ${adv.spliced_options.notmplen}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
290 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
291 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
292
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
293
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
294 ## Reporting options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
295
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
296 #if str($adv.reporting_options.reporting_options_selector) == "advanced":
24
61ee47027bd3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 67cc9b86dcb40c7691cc85b77428117be25d6046
iuc
parents: 23
diff changeset
297 #if str($adv.reporting_options.max_primary) != '':
61ee47027bd3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 67cc9b86dcb40c7691cc85b77428117be25d6046
iuc
parents: 23
diff changeset
298 -k ${adv.reporting_options.max_primary}
61ee47027bd3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 67cc9b86dcb40c7691cc85b77428117be25d6046
iuc
parents: 23
diff changeset
299 #end if
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
300 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
301
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
302
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
303 ## Other options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
304
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
305 #if str( $adv.other_options.other_options_selector ) == "advanced":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
306 ${adv.other_options.non_deterministic}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
307 --seed '${adv.other_options.seed}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
308 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
309
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
310
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
311 ## Output Summary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
312
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
313 #if str($sum.new_summary) == "true":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
314 --new-summary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
315 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
316
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
317 #if str($sum.summary_file) == "true":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
318 --summary-file summary.txt
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
319 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
320
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
321 ## Convert SAM output to sorted BAM
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
322 ## using the two pipe stages has the following effect
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
323 ## - hisat2 and sort run in parallel, during this time sort produces
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
324 ## presorted temporary files but does not produce output (hence
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
325 ## view does not run)
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
326 ## - once hisat is finished sort will start to merge the temporary
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
327 ## files (which should be fast also on a single thread) gives the
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
328 ## sorted output to view which only compresses the files (now
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
329 ## using full parallelism again)
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
330
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
331 | samtools sort -l 0 -O bam | samtools view -O bam -@ \${GALAXY_SLOTS:-1} -o '${output_alignments}'
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
332
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
333 ## Rename any output fastq files
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
334
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
335 #if $output_unaligned_reads_l and $output_unaligned_reads_r:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
336 #from os.path import splitext
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
337 #set _unaligned_root, _unaligned_ext = splitext( str( $output_unaligned_reads_l ) )
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
338 && mv '${ _unaligned_root }.1${_unaligned_ext}' '$output_unaligned_reads_l'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
339 && mv '${ _unaligned_root }.2${_unaligned_ext}' '$output_unaligned_reads_r'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
340 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
341 #if $output_aligned_reads_l and $output_aligned_reads_r:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
342 #from os.path import splitext
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
343 #set _aligned_root, _aligned_ext = splitext( str( $output_aligned_reads_l ) )
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
344 && mv '${ _aligned_root }.1${_aligned_ext}' '$output_aligned_reads_l'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
345 && mv '${ _aligned_root }.2${_aligned_ext}' '$output_aligned_reads_r'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
346 #end if
8
4d0a3173cde0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 379063161020578e1bd306769116c1b691216b35
iuc
parents: 7
diff changeset
347 ]]></command>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
348
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
349 <!-- Define inputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
350
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
351 <inputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
352
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
353 <!-- Reference genome -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
354 <conditional name="reference_genome">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
355 <param name="source" type="select" label="Source for the reference genome" help="Built-in references were created using default options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
356 <option value="indexed" selected="true">Use a built-in genome</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
357 <option value="history">Use a genome from history</option>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
358 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
359 <when value="indexed">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
360 <param name="index" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
361 <options from_data_table="hisat2_indexes">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
362 <filter type="sort_by" column="2" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
363 <validator type="no_options" message="No genomes are available for the selected input dataset" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
364 </options>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
365 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
366 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
367 <when value="history">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
368 <param name="history_item" type="data" format="fasta" label="Select the reference genome" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
369 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
370 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
371
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
372 <!-- Reads -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
373 <conditional name="library">
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
374 <param name="type" type="select" label="Is this a single or paired library">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
375 <option value="single">Single-end</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
376 <option value="paired">Paired-end</option>
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
377 <option value="paired_collection">Paired-end Dataset Collection</option>
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
378 <option value="paired_interleaved">Paired-end data from single interleaved dataset</option>
13
f4fa77189eb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 24fd129248023df91579027d9061468d01fc2350
iuc
parents: 12
diff changeset
379 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
380
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
381 <when value="single">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
382 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
383 <param name="rna_strandness" argument="--rna-strandness" type="select" label="Specify strand information"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
384 help="'F' means a read corresponds to a transcript. 'R' means a read corresponds to the reverse complemented counterpart of a transcript. With this option being used, every read alignment will have an XS attribute tag: '+' means a read belongs to a transcript on '+' strand of genome. '-' means a read belongs to a transcript on '-' strand of genome.">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
385 <option value="">Unstranded</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
386 <option value="F">Forward (F)</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
387 <option value="R">Reverse (R)</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
388 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
389 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
390
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
391 <when value="paired">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
392 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file #1" help="Must be of datatype &quot;fastqsanger&quot;or &quot;fasta&quot;" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
393 <param name="input_2" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file #2" help="Must be of datatype &quot;fastqsanger&quot;or &quot;fasta&quot;" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
394 <expand macro="paired_end_options" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
395 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
396
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
397 <when value="paired_collection">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
398 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data_collection" collection_type="paired" label="Paired Collection" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
399 <expand macro="paired_end_options" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
400 </when>
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
401 <when value="paired_interleaved">
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
402 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="Interleaved FASTA/Q file" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;. --interleaved"/>
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
403 <expand macro="paired_end_options" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
404 </when>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
405 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
406
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
407 <!-- Summary Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
408 <section name="sum" title="Summary Options" expanded="False">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
409 <param name="new_summary" argument="--new-summary" type="boolean" checked="False" label="Output alignment summary in a more machine-friendly style." help="Select this option for compatibility with MultiQC" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
410 <param name="summary_file" argument="--summary-file" type="boolean" checked="False" label="Print alignment summary to a file." help="Output alignment summary to a file in addition to stderr." />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
411 </section>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
412
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
413 <!-- Advanced Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
414 <section name="adv" title="Advanced Options" expanded="False">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
415 <conditional name="input_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
416 <param name="input_options_selector" type="select" label="Input options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
417 <option value="defaults">Use default values</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
418 <option value="advanced">Specify input options</option>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
419 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
420 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
421 <when value="advanced">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
422 <param name="skip" argument="-s" type="integer" min="0" value="0" label="Skip the first N reads or pairs in the input" help="default: 0" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
423 <param name="qupto" argument="-u" type="integer" min="0" value="0" label="Align the first N reads or read pairs from the input (after the first N reads or pairs have been skipped), then stop" help="default: no limit" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
424 <param name="trim5" argument="-5" type="integer" min="0" value="0" label="Trim 5' end" help="Trim N bases from 5' (left) end of each read before alignment, default: 0" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
425 <param name="trim3" argument="-3" type="integer" min="0" value="0" label="Trim 3' end" help="Trim N bases from 3' (right) end of each read before alignment, default: 0"/>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
426 <param name="qv_encoding" type="select" display="radio" label="Select quality score encoding" help="See help below for more details">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
427 <option value="--phred33" selected="True">Input qualities are ASCII chars equal to the Phred quality plus 33. This is also called the "Phred+33" encoding, which is used by the very latest Illumina pipelines (--phred33)</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
428 <option value="--phred64">Input qualities are ASCII chars equal to the Phred quality plus 64. This is also called the "Phred+64" encoding (--phred64)</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
429 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
430 <param name="solexa_quals" argument="--solexa-quals" type="boolean" truevalue="--solexa-quals" falsevalue="" checked="False" label="Convert input qualities from Solexa (which can be negative) to Phred (which can't). This scheme was used in older Illumina GA Pipeline versions (prior to 1.3)" help="--solexa-quals; default: False"/>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
431 <param name="int_quals" argument="--int-quals" type="boolean" truevalue="--int-quals" falsevalue="" checked="False" label="Are quality values provided as space separated integers?" help="Quality values are represented in the read input file as space-separated ASCII integers, e.g., 40 40 30 40..., rather than ASCII characters, e.g., II?I.... Integers are treated as being on the Phred quality scale unless --solexa-quals is also specified [default: False]"/>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
432 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
433 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
434
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
435 <conditional name="alignment_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
436 <param name="alignment_options_selector" type="select" label="Alignment options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
437 <option value="defaults">Use default values</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
438 <option value="advanced">Specify alignment options</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
439 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
440 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
441 <when value="advanced">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
442 <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">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
443 <option value="C">Constant [f(x) = B]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
444 <option value="L" selected="true">Linear [f(x) = B + A * x]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
445 <option value="S">Square root [f(x) = B + A * x&#178;]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
446 <option value="G">Natural logarithm [f(x) = B + A * log(x)]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
447 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
448 <param name="constant_term" type="float" value="0" label="Constant term (B)" help="Constant term for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
449 <param name="coefficient" type="float" value="0.15" label="Coefficient (A)" help="Coefficient for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
450 <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" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
451 <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" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
452 <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 causes HISAT2 to explore only those paired-end configurations corresponding to fragments from the forward-complement (Watson) strand" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
453 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
454 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
455
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
456 <conditional name="scoring_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
457 <param name="scoring_options_selector" type="select" label="Scoring options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
458 <option value="defaults">Use default values</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
459 <option value="advanced">Specify scoring options</option>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
460 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
461 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
462 <when value="advanced">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
463 <param name="constant_term" type="float" value="0" label="Constant term (B)" help="Constant term for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
464 <param name="coefficient" type="float" value="-0.2" label="Coefficient (A)" help="Coefficient for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
465 <param argument="--mp" name="max_mismatch" type="integer" value="6" min="0" label="Maximum mismatch penalty" help="Sets the maximum mismatch penalty. A number less than or equal to MX and greater than or equal to MN is subtracted from the alignment score for each position where a read character aligns to a reference character, the characters do not match, and neither is an N. If --ignore-quals is specified, the number subtracted quals MX. Otherwise, the number subtracted is MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) ) where Q is the Phred quality value" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
466 <param argument="--mp" name="min_mismatch" type="integer" value="2" min="0" label="Minimum mismatch penalty" help="Sets the minimum mismatch penalty. A number less than or equal to MX and greater than or equal to MN is subtracted from the alignment score for each position where a read character aligns to a reference character, the characters do not match, and neither is an N. If --ignore-quals is specified, the number subtracted quals MX. Otherwise, the number subtracted is MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) ) where Q is the Phred quality value" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
467 <param argument="--sp" name="soft_clip_penalty_max" type="integer" value="2" min="0" label="Maximum soft-clipping penalty" help="Sets the maximum (MX) penalty for soft-clipping per base. A number less than or equal to MX and greater than or equal to MN is subtracted from the alignment score for each position. The number subtracted is MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) ) where Q is the Phred quality value" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
468 <param argument="--sp" name="soft_clip_penalty_min" type="integer" value="1" min="0" label="Minimum soft-clipping penalty" help="Sets the minimum (MN) penalty for soft-clipping per base. A number less than or equal to MX and greater than or equal to MN is subtracted from the alignment score for each position. The number subtracted is MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) ) where Q is the Phred quality value" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
469 <param argument="--no-softclip" name="no_softclip" type="boolean" truevalue="" falsevalue="--no-softclip" label="Allow soft-clipping" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
470 <param argument="--np" name="ambiguous_penalty" type="integer" value="1" min="0" label="Ambiguous read penalty" help="Sets penalty for positions where the read, reference, or both, contain an ambiguous character such as N" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
471 <param argument="--rdg" name="read_open_penalty" type="integer" value="5" min="0" label="Read gap open penalty" help="A read gap of length N gets a penalty of [open_penalty] + N * [extend_penalty]" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
472 <param argument="--rdg" name="read_extend_penalty" type="integer" value="3" min="0" label="Read gap extend penalty" help="A read gap of length N gets a penalty of [open_penalty] + N * [extend_penalty]" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
473 <param argument="--rfg" name="ref_open_penalty" type="integer" value="5" min="0" label="Reference gap open penalty" help="A reference gap of length N gets a penalty of [open_penalty] + N * [extend_penalty]" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
474 <param argument="--rfg" name="ref_extend_penalty" type="integer" value="3" min="0" label="Reference gap extend penalty" help="A reference gap of length N gets a penalty of [open_penalty] + N * [extend_penalty]" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
475 <param name="function_type" argument="--score-min" type="select" display="radio" label="Function governing the minimum alignment score needed for an alignment to be considered &quot;valid&quot; (i.e. good enough to report)" help="This is a function of read length">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
476 <option value="C">Constant [f(x) = B]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
477 <option value="L" selected="true">Linear [f(x) = B + A * x]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
478 <option value="S">Square root [f(x) = B + A * x&#178;]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
479 <option value="G">Natural logarithm [f(x) = B + A * log(x)]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
480 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
481 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
482 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
483
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
484 <conditional name="spliced_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
485 <param name="spliced_options_selector" type="select" label="Spliced alignment options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
486 <option value="defaults">Use default values</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
487 <option value="advanced">Specify spliced alignment options</option>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
488 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
489 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
490 <when value="advanced">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
491 <param name="canonical_penalty" argument="--pen-cansplice" type="integer" value="0" min="0" label="Penalty for canonical splice sites" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
492 <param name="noncanonical_penalty" argument="--pen-noncansplice" type="integer" value="12" min="0" label="Penalty for non-canonical splice sites" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
493 <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">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
494 <option value="C">Constant [f(x) = B]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
495 <option value="L">Linear [f(x) = B + A * x]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
496 <option value="S">Square root [f(x) = B + A * x&#178;]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
497 <option value="G" selected="true">Natural logarithm [f(x) = B + A * log(x)]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
498 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
499 <param name="constant_term" type="float" value="-8" label="Constant term (B)" help="Constant term for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
500 <param name="coefficient" type="float" value="1" label="Coefficient (A)" help="Coefficient for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
501 <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">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
502 <option value="C">Constant [f(x) = B]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
503 <option value="L">Linear [f(x) = B + A * x]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
504 <option value="S">Square root [f(x) = B + A * x&#178;]</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
505 <option value="G" selected="true">Natural logarithm [f(x) = B + A * log(x)]</option>
9
2dbb7f0ea66f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 1baf0d1eb5d9cb012e4ce1385431461f26f7bc05
iuc
parents: 8
diff changeset
506 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
507 <param name="nc_constant_term" type="float" value="-8" label="Constant term (B)" help="Constant term for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
508 <param name="nc_coefficient" type="float" value="1" label="Coefficient (A)" help="Coefficient for the above function" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
509 <param name="min_intron" type="integer" value="20" min="0" label="Minimum intron length" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
510 <param name="max_intron" type="integer" value="500000" min="0" label="Maximum intron length" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
511 <conditional name="no_spliced_alignment_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
512 <param name="no_spliced_alignment" argument="--no-spliced-alignment" type="select" label="Disable spliced alignment">
17
40e1083a4430 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 7b3489c9010a339e83beb1f40044bd145cab967a
iuc
parents: 16
diff changeset
513 <option value="">False</option>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
514 <option value="--no-spliced-alignment">True</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
515 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
516 <when value="--no-spliced-alignment">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
517 <param name="minins" argument="-I" type="integer" value="0" min="0" label="Minimum fragment length for valid paired-end alignments" help="E.g. if -I 60 is specified and a paired-end alignment consists of two 20-bp alignments in the appropriate orientation with a 20-bp gap between them, that alignment is considered valid (as long as -X is also satisfied). A 19-bp gap would not be valid in that case. If trimming options -3 or -5 are also used, the -I constraint is applied with respect to the untrimmed mates. The larger the difference between -I and -X, the slower HISAT2 will run. This is because larger differences between -I and -X require that HISAT2 scan a larger window to determine if a concordant alignment exists. For typical fragment length ranges (200 to 400 nucleotides), HISAT2 is very efficient" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
518 <param name="maxins" argument="-X" type="integer" value="500" min="0" label="Maximum fragment length for valid paired-end alignments" help="E.g. if -X 100 is specified and a paired-end alignment consists of two 20-bp alignments in the proper orientation with a 60-bp gap between them, that alignment is considered valid (as long as -I is also satisfied). A 61-bp gap would not be valid in that case. If trimming options -3 or -5 are also used, the -X constraint is applied with respect to the untrimmed mates, not the trimmed mates. The larger the difference between -I and -X, the slower HISAT2 will run. This is because larger differences between -I and -X require that HISAT2 scan a larger window to determine if a concordant alignment exists. For typical fragment length ranges (200 to 400 nucleotides), HISAT2 is very efficient" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
519 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
520 <when value="" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
521 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
522 <param name="known_splice_gtf" type="data" format="gtf" optional="true" label="GTF file with known splice sites" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
523 <param name="tma" type="select" display="radio" label="Transcriptome assembly reporting">
17
40e1083a4430 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 7b3489c9010a339e83beb1f40044bd145cab967a
iuc
parents: 16
diff changeset
524 <option value="">Use default reporting</option>
40e1083a4430 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 7b3489c9010a339e83beb1f40044bd145cab967a
iuc
parents: 16
diff changeset
525 <option value="--tmo">Report only those alignments within known transcripts</option>
40e1083a4430 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 7b3489c9010a339e83beb1f40044bd145cab967a
iuc
parents: 16
diff changeset
526 <option value="--dta">Report alignments tailored for transcript assemblers including StringTie</option>
40e1083a4430 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 7b3489c9010a339e83beb1f40044bd145cab967a
iuc
parents: 16
diff changeset
527 <option value="--dta-cufflinks">Report alignments tailored specifically for Cufflinks</option>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
528 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
529 <param name="notmplen" argument="--no-templatelen-adjustment" type="boolean" truevalue="--no-templatelen-adjustment" falsevalue="" label="Disable automatic template length adjustment for RNA-seq reads" help="Default: false" />
25
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
530 <param name="novel_splicesite_outfile" type="boolean" checked="false" label="reports a list of novel splice sites" help="Default: false" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
531 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
532 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
533
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
534 <conditional name="reporting_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
535 <param name="reporting_options_selector" type="select" label="Reporting options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
536 <option value="defaults">Use default values</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
537 <option value="advanced">Specify reporting options</option>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
538 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
539 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
540 <when value="advanced">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
541 <param name="max_primary" argument="-k" type="integer" min="0" optional="true" label="Primary alignments" help="Search for at most K distinct, primary alignments for each read. Primary alignments mean alignments whose alignment score is equal or higher than any other alignments. The search terminates when it can't find more distinct valid alignments, or when it finds K, whichever happens first. The alignment score for a paired-end alignment equals the sum of the alignment scores of the individual mates. Each reported read or pair alignment beyond the first has the SAM 'secondary' bit (which equals 256) set in its FLAGS field. For reads that have more than K distinct, valid alignments, HISAT2 does not guarantee that the K alignments reported are the best possible in terms of alignment score. HISAT2 is not designed with large values for -k in mind, so when aligning reads to long repetitive genomes, a large K can be very, very slow. Default: 5 (HFM) or 10 (HGFM)" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
542 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
543 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
544
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
545 <conditional name="output_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
546 <param name="output_options_selector" type="select" label="Output options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
547 <option value="defaults">Use default values</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
548 <option value="advanced">Specify output options</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
549 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
550 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
551 <when value="advanced">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
552 <param name="unaligned_file" argument="--un/--un-conc" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write unaligned reads (in fastq format) to separate file(s)" help="This triggers --un parameter for single reads and --un-conc for paired reads" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
553 <param name="aligned_file" argument="--al/--al-conc" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write aligned reads (in fastq format) to separate file(s)" help="This triggers --al parameter for single reads and --al-conc for paired reads" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
554 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
555 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
556
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
557 <conditional name="other_options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
558 <param name="other_options_selector" type="select" label="Other options">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
559 <option value="defaults">Use default values</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
560 <option value="advanced">Specify other options</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
561 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
562 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
563 <when value="advanced">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
564 <param name="seed" argument="--seed" type="integer" value="0" min="0" label="Use this number as the seed for pseudo-random number generator" help="Default=0" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
565 <param name="non_deterministic" argument="--non-deterministic" type="boolean" truevalue="--non-deterministic" falsevalue="" label="Re-initialize the pseudo-random generator for each read using the current time" help="see Help below for explanation of this option; default: False"/>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
566 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
567 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
568 </section>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
569
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
570 </inputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
571
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
572 <!-- Define outputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
573
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
574 <outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
575
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
576 <!-- BAM -->
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
577 <data name="output_alignments" format="bam" label="${tool.name} on ${on_string}: aligned reads (BAM)">
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
578 <actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
579 <expand macro="dbKeyActions" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
580 </actions>
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
581 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
582
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
583 <!-- Unaligned fastq (L) -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
584 <data name="output_unaligned_reads_l" format="fastqsanger" label="${tool.name} on ${on_string}: unaligned reads (L)">
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
585 <filter>adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['unaligned_file'] is True</filter>
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
586 <actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
587 <conditional name="library.type">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
588 <when value="single">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
589 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
590 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
591 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
592 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
593 <when value="paired">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
594 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
595 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
596 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
597 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
598 <when value="paired_collection">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
599 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
600 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
601 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
602 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
603 <when value="paired_interleaved">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
604 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
605 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
606 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
607 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
608 </conditional>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
609 <expand macro="dbKeyActions" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
610 </actions>
3
b1e25f9b5eab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 9a9d44116b21d9a155b5cc274475e78c14915059
iuc
parents: 2
diff changeset
611 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
612
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
613 <!-- Aligned fastq (L) -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
614 <data name="output_aligned_reads_l" format="fastqsanger" label="${tool.name} on ${on_string}: aligned reads (L)">
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
615 <filter>adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['aligned_file'] is True</filter>
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
616 <actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
617 <conditional name="library.type">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
618 <when value="single">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
619 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
620 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
621 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
622 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
623 <when value="paired">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
624 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
625 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
626 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
627 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
628 <when value="paired_collection">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
629 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
630 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
631 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
632 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
633 <when value="paired_interleaved">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
634 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
635 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
636 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
637 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
638 </conditional>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
639 <expand macro="dbKeyActions" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
640 </actions>
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
641 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
642
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
643 <!-- Unaligned fastq (R) -->
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
644 <data name="output_unaligned_reads_r" format="fastqsanger" label="${tool.name} on ${on_string}: unaligned reads (R)">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
645 <filter>(library['type'] == 'paired' or library['type'] == 'paired_collection') and (adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['unaligned_file'] is True) </filter>
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
646 <actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
647 <conditional name="library.type">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
648 <when value="single">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
649 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
650 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
651 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
652 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
653 <when value="paired">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
654 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
655 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
656 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
657 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
658 <when value="paired_collection">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
659 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
660 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
661 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
662 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
663 <when value="paired_interleaved">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
664 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
665 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
666 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
667 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
668 </conditional>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
669 <expand macro="dbKeyActions" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
670 </actions>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
671 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
672
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
673 <!-- Aligned fastq (R) -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
674 <data name="output_aligned_reads_r" format="fastqsanger" label="${tool.name} on ${on_string}: aligned reads (R)">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
675 <filter>(library['type'] == 'paired' or library['type'] == 'paired_collection') and (adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['aligned_file'] is True) </filter>
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
676 <actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
677 <conditional name="library.type">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
678 <when value="single">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
679 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
680 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
681 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
682 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
683 <when value="paired">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
684 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
685 <option type="from_param" name="library.input_1" param_attribute="ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
686 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
687 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
688 <when value="paired_collection">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
689 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
690 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
691 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
692 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
693 <when value="paired_interleaved">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
694 <action type="format">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
695 <option type="from_param" name="library.input_1" param_attribute="forward.ext" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
696 </action>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
697 </when>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
698 </conditional>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
699 <expand macro="dbKeyActions" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
700 </actions>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
701 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
702
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
703 <!-- Alignment summary file -->
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
704 <data name="summary_file" format="txt" from_work_dir="summary.txt" label="${tool.name} on ${on_string}: Mapping summary">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
705 <filter>sum['summary_file'] is True</filter>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
706 <actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
707 <expand macro="dbKeyActions" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
708 </actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
709 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
710
26
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
711 <!-- Novel Splice file -->
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
712 <data name="novel_splicesite_output" format="tabular" label="${tool.name} on ${on_string}: Novel Splice Sites">
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
713 <filter>adv['spliced_options']['spliced_options_selector'] == 'advanced' and adv['spliced_options']['novel_splicesite_outfile'] is True</filter>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
714 <actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
715 <expand macro="dbKeyActions" />
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
716 </actions>
0c16cad5e03b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 84b71df5668dfd13bdf46e6e6f3d8a6f316ccea6
iuc
parents: 25
diff changeset
717 </data>
25
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
718
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
719
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
720 </outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
721
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
722 <!-- Define tests -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
723
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
724 <tests>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
725 <!-- Ensure bam output works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
726 <test expect_num_outputs="1" >
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
727 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
728 <param name="source" value="history" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
729 <param name="history_item" ftype="fasta" value="phiX.fa" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
730 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_forward.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
731 <param name="input_2" ftype="fastqsanger" value="hisat_input_1_reverse.fastq" />
24
61ee47027bd3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 67cc9b86dcb40c7691cc85b77428117be25d6046
iuc
parents: 23
diff changeset
732 <param name="adv|reporting_options|reporting_options_selector" value="advanced"/>
25
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
733 <param name="novel_splicesite_outfile" value="false" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
734 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
735 </test>
18
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
736 <!-- Ensure advanced scoring options work -->
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
737 <test expect_num_outputs="1" >
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
738 <param name="type" value="paired" />
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
739 <param name="source" value="history" />
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
740 <param name="history_item" ftype="fasta" value="phiX.fa" />
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
741 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_forward.fastq" />
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
742 <param name="input_2" ftype="fastqsanger" value="hisat_input_1_reverse.fastq" />
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
743 <param name="adv|scoring_options|coefficient" value="-0.3"/>
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
744 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
745 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
746 <!-- Ensure built-in reference works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
747 <test expect_num_outputs="1">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
748 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
749 <param name="source" value="indexed" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
750 <param name="input_1" ftype="fastqsanger" dbkey="phiX" value="hisat_input_1_forward.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
751 <param name="input_2" ftype="fastqsanger" dbkey="phiX" value="hisat_input_1_reverse.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
752 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
753 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
754 <!-- Ensure trimming works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
755 <test expect_num_outputs="1">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
756 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
757 <param name="source" value="history" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
758 <param name="history_item" ftype="fasta" value="phiX.fa" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
759 <param name="input_options_selector" value="advanced" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
760 <param name="trim3" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
761 <param name="trim5" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
762 <param name="input_1" ftype="fastqsanger" value="hisat_input_2_forward.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
763 <param name="input_2" ftype="fastqsanger" value="hisat_input_2_reverse.fastq" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
764 <output name="output_alignments" file="hisat_output_2.bam" ftype="bam" lines_diff="2" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
765 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
766 <!-- Ensure paired options works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
767 <test expect_num_outputs="1">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
768 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
769 <param name="source" value="history" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
770 <param name="history_item" ftype="fasta" value="phiX.fa" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
771 <param name="input_options_selector" value="advanced" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
772 <param name="trim3" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
773 <param name="trim5" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
774 <param name="input_1" ftype="fastqsanger" value="hisat_input_2_forward.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
775 <param name="input_2" ftype="fastqsanger" value="hisat_input_2_reverse.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
776 <param name="paired_options_selector" value="advanced" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
777 <param name="no_mixed" value="True" />
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
778 <param name="no_discordant" value="True" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
779 <output name="output_alignments" file="hisat_output_3.bam" ftype="bam" lines_diff="2" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
780 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
781 <!-- Ensure single unaligned output works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
782 <test expect_num_outputs="2">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
783 <param name="type" value="single" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
784 <param name="source" value="history" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
785 <param name="history_item" ftype="fasta" value="phiX.fa" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
786 <param name="output_options_selector" value="advanced" />
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
787 <param name="unaligned_file" value="true" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
788 <param name="history_item" ftype="fasta" value="phiX.fa" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
789 <param name="input_1" ftype="fasta" value="test_unaligned_reads.fasta" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
790 <output name="output_unaligned_reads_l" file="test_unaligned_reads.fasta" />
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
791 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
792 <!-- Ensure paired unaligned/aligned output works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
793 <test expect_num_outputs="5">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
794 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
795 <param name="source" value="history" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
796 <param name="output_options_selector" value="advanced" />
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
797 <param name="unaligned_file" value="true" />
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
798 <param name="aligned_file" value="true" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
799 <param name="history_item" ftype="fasta" value="phiX.fa" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
800 <param name="input_1" ftype="fasta" value="test_unaligned_reads.fasta" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
801 <param name="input_2" ftype="fasta" value="test_unaligned_reads.fasta" />
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
802 <output name="output_unaligned_reads_l" file="test_unaligned_reads.fasta" />
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
803 <output name="output_unaligned_reads_r" file="test_unaligned_reads.fasta" />
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
804 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
805 <!-- Ensure fastqsanger.gz works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
806 <test expect_num_outputs="1">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
807 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
808 <param name="source" value="history" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
809 <param name="history_item" ftype="fasta" value="phiX.fa" />
10
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
810 <param name="input_options_selector" value="advanced" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
811 <param name="trim3" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
812 <param name="trim5" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
813 <param name="input_1" ftype="fastqsanger.gz" value="hisat_input_2_forward.fastq.gz" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
814 <param name="input_2" ftype="fastqsanger.gz" value="hisat_input_2_reverse.fastq.gz" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
815 <param name="paired_options_selector" value="advanced" />
10
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
816 <param name="no_mixed" value="True" />
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
817 <param name="no_discordant" value="True" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
818 <output name="output_alignments" file="hisat_output_3.bam" ftype="bam" lines_diff="2" />
10
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
819 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
820 <!-- Ensure fastqsanger.bz2 works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
821 <test expect_num_outputs="1">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
822 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
823 <param name="source" value="history" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
824 <param name="history_item" ftype="fasta" value="phiX.fa" />
10
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
825 <param name="input_options_selector" value="advanced" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
826 <param name="trim3" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
827 <param name="trim5" value="15" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
828 <param name="input_1" ftype="fastqsanger.bz2" value="hisat_input_2_forward.fastq.bz2" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
829 <param name="input_2" ftype="fastqsanger.bz2" value="hisat_input_2_reverse.fastq.bz2" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
830 <param name="paired_options_selector" value="advanced" />
10
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
831 <param name="no_mixed" value="True" />
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
832 <param name="no_discordant" value="True" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
833 <output name="output_alignments" file="hisat_output_3.bam" ftype="bam" lines_diff="2" />
10
da8d655e2154 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d3803bf87eb04a8c2a239e270c8c5c0596277890
iuc
parents: 9
diff changeset
834 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
835 <!-- Ensure paired strandness works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
836 <test expect_num_outputs="1">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
837 <param name="type" value="paired" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
838 <param name="source" value="history" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
839 <param name="history_item" ftype="fasta" value="phiX.fa" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
840 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_forward.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
841 <param name="input_2" ftype="fastqsanger" value="hisat_input_1_reverse.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
842 <param name="rna_strandness" value="FR" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
843 <output name="output_alignments" file="hisat_output_4.bam" ftype="bam" lines_diff="2" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
844 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
845 <!-- Ensure summary file output works -->
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
846 <test expect_num_outputs="2">
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
847 <param name="type" value="single" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
848 <param name="source" value="history" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
849 <param name="history_item" ftype="fasta" value="phiX.fa" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
850 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_forward.fastq" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
851 <param name="rna_strandness" value="R" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
852 <param name="new_summary" value="true" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
853 <param name="summary_file" value="true" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
854 <output name="summary_file" file="hisat_output.summary" ftype="txt" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
855 </test>
22
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
856 <!-- Ensure interleaved input works -->
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
857 <test expect_num_outputs="1" >
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
858 <param name="type" value="paired_interleaved" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
859 <param name="source" value="history" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
860 <param name="history_item" ftype="fasta" value="phiX.fa" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
861 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_interleaved.fastq" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
862 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
863 </test>
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
864 <!-- Ensure interleaved bz input works -->
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
865 <test expect_num_outputs="1" >
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
866 <param name="type" value="paired_interleaved" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
867 <param name="source" value="history" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
868 <param name="history_item" ftype="fasta" value="phiX.fa" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
869 <param name="input_1" ftype="fastqsanger.bz2" value="hisat_input_1_interleaved.fastq.bz2" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
870 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
871 </test>
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
872 <!-- Ensure interleaved gz input works -->
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
873 <test expect_num_outputs="1" >
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
874 <param name="type" value="paired_interleaved" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
875 <param name="source" value="history" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
876 <param name="history_item" ftype="fasta" value="phiX.fa" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
877 <param name="input_1" ftype="fastqsanger.gz" value="hisat_input_1_interleaved.fastq.gz" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
878 <output name="output_alignments" file="hisat_output_1.bam" ftype="bam" lines_diff="2" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
879 </test>
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
880 <!-- Ensure interleaved fasta input works -->
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
881 <test expect_num_outputs="1" >
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
882 <param name="type" value="paired_interleaved" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
883 <param name="source" value="history" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
884 <param name="history_item" ftype="fasta" value="phiX.fa" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
885 <param name="input_1" ftype="fasta" value="hisat_input_1_interleaved.fasta" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
886 <output name="output_alignments" file="hisat_output_1_noqual.bam" ftype="bam" lines_diff="2" />
a26ed87f444c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit ac79103bf57c195226877a698dc197a965f82aba
iuc
parents: 21
diff changeset
887 </test>
25
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
888 <!-- Ensure novel splicesite file output works -->
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
889 <test>
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
890 <param name="type" value="single" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
891 <param name="source" value="history" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
892 <param name="history_item" ftype="fasta" value="phiX.fa" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
893 <param name="input_1" ftype="fastqsanger" value="hisat_input_1_split_forward.fastq" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
894 <param name="rna_strandness" value="R" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
895 <param name="adv|spliced_options|spliced_options_selector" value="advanced"/>
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
896 <param name="adv|spliced_options|novel_splicesite_outfile" value="true" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
897 <output name="output_alignments" file="hisat_output_spliced_1.bam" ftype="bam" lines_diff="2" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
898 <output name="novel_splicesite_output" file="novel_splicesite_out.tab" ftype="tabular" />
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
899 </test>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
900 </tests>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
901
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
902 <help><![CDATA[
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
903 Introduction
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
904 ============
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
905
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
906 What is HISAT?
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
907 --------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
908
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
909 `HISAT <http://ccb.jhu.edu/software/hisat>`__ is a fast and sensitive
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
910 spliced alignment program. As part of HISAT, we have developed a new
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
911 indexing scheme based on the Burrows-Wheeler transform
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
912 (`BWT <http://en.wikipedia.org/wiki/Burrows-Wheeler_transform>`__) and
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
913 the `FM index <http://en.wikipedia.org/wiki/FM-index>`__, called
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
914 hierarchical indexing, that employs two types of indexes: (1) one global
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
915 FM index representing the whole genome, and (2) many separate local FM
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
916 indexes for small regions collectively covering the genome. Our
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
917 hierarchical index for the human genome (about 3 billion bp) includes
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
918 ~48,000 local FM indexes, each representing a genomic region of
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
919 ~64,000bp. As the basis for non-gapped alignment, the FM index is
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
920 extremely fast with a low memory footprint, as demonstrated by
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
921 `Bowtie <http://bowtie-bio.sf.net>`__. In addition, HISAT provides
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
922 several alignment strategies specifically designed for mapping different
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
923 types of RNA-seq reads. All these together, HISAT enables extremely fast
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
924 and sensitive alignment of reads, in particular those spanning two exons
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
925 or more. As a result, HISAT is much faster >50 times than
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
926 `TopHat2 <http://ccb.jhu.edu/software/tophat>`__ with better alignment
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
927 quality. Although it uses a large number of indexes, the memory
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
928 requirement of HISAT is still modest, approximately 4.3 GB for human.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
929 HISAT uses the `Bowtie2 <http://bowtie-bio.sf.net/bowtie2>`__
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
930 implementation to handle most of the operations on the FM index. In
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
931 addition to spliced alignment, HISAT handles reads involving indels and
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
932 supports a paired-end alignment mode. Multiple processors can be used
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
933 simultaneously to achieve greater alignment speed. HISAT outputs
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
934 alignments in `SAM <http://samtools.sourceforge.net/SAM1.pdf>`__ format,
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
935 enabling interoperation with a large number of other tools (e.g.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
936 `SAMtools <http://samtools.sourceforge.net>`__,
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
937 `GATK <http://www.broadinstitute.org/gsa/wiki/index.php/The_Genome_Analysis_Toolkit>`__)
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
938 that use SAM. HISAT is distributed under the `GPLv3
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
939 license <http://www.gnu.org/licenses/gpl-3.0.html>`__, and it runs on
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
940 the command line under Linux, Mac OS X and Windows.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
941
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
942 Running HISAT
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
943 =============
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
944
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
945 Reporting
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
946 ---------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
947
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
948 The reporting mode governs how many alignments HISAT looks for, and how
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
949 to report them.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
950
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
951 In general, when we say that a read has an alignment, we mean that it
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
952 has a `valid
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
953 alignment <#valid-alignments-meet-or-exceed-the-minimum-score-threshold>`__.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
954 When we say that a read has multiple alignments, we mean that it has
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
955 multiple alignments that are valid and distinct from one another.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
956
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
957 Distinct alignments map a read to different places
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
958 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
959
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
960 Two alignments for the same individual read are "distinct" if they map
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
961 the same read to different places. Specifically, we say that two
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
962 alignments are distinct if there are no alignment positions where a
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
963 particular read offset is aligned opposite a particular reference offset
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
964 in both alignments with the same orientation. E.g. if the first
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
965 alignment is in the forward orientation and aligns the read character at
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
966 read offset 10 to the reference character at chromosome 3, offset
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
967 3,445,245, and the second alignment is also in the forward orientation
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
968 and also aligns the read character at read offset 10 to the reference
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
969 character at chromosome 3, offset 3,445,245, they are not distinct
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
970 alignments.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
971
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
972 Two alignments for the same pair are distinct if either the mate 1s in
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
973 the two paired-end alignments are distinct or the mate 2s in the two
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
974 alignments are distinct or both.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
975
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
976 Default mode: search for one or more alignments, report each
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
977 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
978
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
979 HISAT searches for up to N distinct, primary alignments for each read,
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
980 where N equals the integer specified with the ``-k`` parameter. Primary
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
981 alignments mean alignments whose alignment score is equal or higher than
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
982 any other alignments. It is possible that multiple distinct alignments
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
983 whave the same score. That is, if ``-k 2`` is specified, HISAT will
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
984 search for at most 2 distinct alignments. The alignment score for a
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
985 paired-end alignment equals the sum of the alignment scores of the
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
986 individual mates. Each reported read or pair alignment beyond the first
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
987 has the SAM 'secondary' bit (which equals 256) set in its FLAGS field.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
988 See the `SAM specification <http://samtools.sourceforge.net/SAM1.pdf>`__
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
989 for details.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
990
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
991 HISAT does not "find" alignments in any specific order, so for reads
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
992 that have more than N distinct, valid alignments, HISAT does not
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
993 gaurantee that the N alignments reported are the best possible in terms
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
994 of alignment score. Still, this mode can be effective and fast in
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
995 situations where the user cares more about whether a read aligns (or
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
996 aligns a certain number of times) than where exactly it originated.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
997
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
998 Alignment summmary
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
999 ------------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1000
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1001 When HISAT finishes running, it prints messages summarizing what happened. These messages are printed to the "standard error" ("stderr") filehandle and can be optionally printed to a file. Choose `--new-summary` under **Summary Options** for compatibility with `MultiQC <http://multiqc.info/docs/#hisat2>`_.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1002 For datasets consisting of unpaired reads, the summary might look like this:
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1003
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1004 ::
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1005
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1006 20000 reads; of these:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1007 20000 (100.00%) were unpaired; of these:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1008 1247 (6.24%) aligned 0 times
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1009 18739 (93.69%) aligned exactly 1 time
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1010 14 (0.07%) aligned >1 times
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1011 93.77% overall alignment rate
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1012
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1013 For datasets consisting of pairs, the summary might look like this:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1014
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1015 ::
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1016
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1017 10000 reads; of these:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1018 10000 (100.00%) were paired; of these:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1019 650 (6.50%) aligned concordantly 0 times
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1020 8823 (88.23%) aligned concordantly exactly 1 time
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1021 527 (5.27%) aligned concordantly >1 times
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1022 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1023 650 pairs aligned concordantly 0 times; of these:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1024 34 (5.23%) aligned discordantly 1 time
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1025 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1026 616 pairs aligned 0 times concordantly or discordantly; of these:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1027 1232 mates make up the pairs; of these:
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1028 660 (53.57%) aligned 0 times
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1029 571 (46.35%) aligned exactly 1 time
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1030 1 (0.08%) aligned >1 times
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1031 96.70% overall alignment rate
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1032
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1033 The indentation indicates how subtotals relate to totals.
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1034
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1035
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1036 .. class:: infomark
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1037
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1038 **HISAT2 options**
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1039
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1040 Galaxy wrapper for HISAT2 implements most, but not all, options available through the command line. Supported options are described below.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1041
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1042 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1043
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1044 **Inputs**
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1045
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1046 HISAT2 accepts files in FASTQ or FASTA format (single-end or paired-end).
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1047
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1048 Note that if your reads are from a stranded library, you need to choose the appropriate setting under **Specify strand information** above. For single-end reads, use F or R. 'F' means a read corresponds to a transcript. 'R' means a read corresponds to the reverse complemented counterpart of a transcript. For paired-end reads, use either FR or RF. With this option being used, every read alignment will have an XS attribute tag: '+' means a read belongs to a transcript on '+' strand of genome. '-' means a read belongs to a transcript on '-' strand of genome. (TopHat has a similar option, --library-type option, where fr-firststrand corresponds to R and RF; fr-secondstrand corresponds to F and FR.)
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1049
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1050 ------
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1051
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1052 **Input options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1053
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1054 -s/--skip <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1055 Skip (i.e. do not align) the first `<int>` reads or pairs in the input.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1056
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1057 -u/--qupto <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1058 Align the first `<int>` reads or read pairs from the input (after the
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1059 `-s`/`--skip` reads or pairs have been skipped), then stop. Default: no limit.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1060
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1061 -5/--trim5 <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1062 Trim `<int>` bases from 5' (left) end of each read before alignment (default: 0).
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1063
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1064 -3/--trim3 <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1065 Trim `<int>` bases from 3' (right) end of each read before alignment (default: 0).
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1066
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1067 --phred33
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1068 Input qualities are ASCII chars equal to the Phred quality plus 33. This is
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1069 also called the "Phred+33" encoding, which is used by the very latest Illumina
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1070 pipelines.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1071
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1072 --phred64
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1073 Input qualities are ASCII chars equal to the Phred quality plus 64. This is
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1074 also called the "Phred+64" encoding.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1075
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1076 --solexa-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1077 Convert input qualities from Solexa Phred quality (which can be negative) to
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1078 Phred Phred quality (which can't). This scheme was used in older Illumina GA
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1079 Pipeline versions (prior to 1.3). Default: off.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1080
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1081 --int-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1082 Quality values are represented in the read input file as space-separated ASCII integers, e.g., `40 40 30 40`..., rather than ASCII characters, e.g., `II?I`....
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1083 Integers are treated as being on the Phred quality scale unless
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1084 `--solexa-quals` is also specified. Default: off.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1085
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1086 ------
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1087
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1088 **Alignment options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1089
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1090 --n-ceil <func>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1091 Sets a function governing the maximum number of ambiguous characters (usually
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1092 `N`s and/or `.`s) allowed in a read as a function of read length. For instance,
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1093 specifying `-L,0,0.15` sets the N-ceiling function `f` to `f(x) = 0 + 0.15 * x`,
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1094 where x is the read length. Reads exceeding this ceiling are filtered out.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1095 Default: `L,0,0.15`.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1096
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1097 --ignore-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1098 When calculating a mismatch penalty, always consider the quality value at the
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1099 mismatched position to be the highest possible, regardless of the actual value.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1100 I.e. input is treated as though all quality values are high. This is also the
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1101 default behavior when the input doesn't specify quality values (e.g. in `-f`,
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1102 `-r`, or `-c` modes).
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1103
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1104 --nofw/--norc
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1105 If `--nofw` is specified, `hisat2` will not attempt to align unpaired reads to
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1106 the forward (Watson) reference strand. If `--norc` is specified, `hisat2` will not attempt to align unpaired reads against the reverse-complement (Crick)
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1107 reference strand. In paired-end mode, `--nofw` and `--norc` pertain to the
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1108 fragments; i.e. specifying `--nofw` causes `hisat2` to explore only those
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1109 paired-end configurations corresponding to fragments from the reverse-complement
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1110 (Crick) strand. Default: both strands enabled.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1111
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1112 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1113
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1114 **Scoring options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1115
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1116 --mp MX,MN
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1117 Sets the maximum (`MX`) and minimum (`MN`) mismatch penalties, both integers. A number less than or equal to `MX` and greater than or equal to `MN` is
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1118 subtracted from the alignment score for each position where a read character
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1119 aligns to a reference character, the characters do not match, and neither is an
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1120 `N`. If `--ignore-quals` is specified, the number subtracted quals `MX`.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1121 Otherwise, the number subtracted is `MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) )`
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1122 where Q is the Phred quality value. Default: `MX` = 6, `MN` = 2.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1123
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1124 --sp MX,MN
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1125 Sets the maximum (`MX`) and minimum (`MN`) penalties for soft-clipping per base, both integers. A number less than or equal to `MX` and greater than or equal to `MN` is subtracted from the alignment score for each position. The number subtracted is `MN + floor( (MX-MN)(MIN(Q, 40.0)/40.0) )` where Q is the Phred quality value. Default: `MX` = 2, `MN` = 1.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1126
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1127 --no-softclip
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1128 Disallow soft-clipping.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1129
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1130 --np <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1131 Sets penalty for positions where the read, reference, or both, contain an
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1132 ambiguous character such as `N`. Default: 1.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1133
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1134 --rdg <int1>,<int2>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1135 Sets the read gap open (`<int1>`) and extend (`<int2>`) penalties. A read gap of
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1136 length N gets a penalty of `<int1>` + N * `<int2>`. Default: 5, 3.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1137
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1138 --rfg <int1>,<int2>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1139 Sets the reference gap open (`<int1>`) and extend (`<int2>`) penalties. A
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1140 reference gap of length N gets a penalty of `<int1>` + N * `<int2>`. Default:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1141 5, 3.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1142
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1143 --score-min <func>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1144 Sets a function governing the minimum alignment score needed for an alignment to
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1145 be considered "valid" (i.e. good enough to report). This is a function of read
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1146 length. For instance, specifying `L,0,-0.6` sets the minimum-score function `f`
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1147 to `f(x) = 0 + -0.6 * x`, where `x` is the read length. The default is `L,0,-0.2`.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1148
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1149 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1150
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1151 **Spliced alignment options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1152
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1153 --pen-cansplice <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1154 Sets the penalty for each pair of canonical splice sites (e.g. GT/AG). Default: 0.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1155
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1156 --pen-noncansplice <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1157 Sets the penalty for each pair of non-canonical splice sites (e.g. non-GT/AG). Default: 12.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1158
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1159 --pen-canintronlen <func>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1160 Sets the penalty for long introns with canonical splice sites so that alignments with shorter introns are preferred to those with longer ones. Default: G,-8,1
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1161
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1162 --pen-noncanintronlen <func>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1163 Sets the penalty for long introns with noncanonical splice sites so that alignments with shorter introns are preferred to those with longer ones. Default: G,-8,1
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1164
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1165 --min-intronlen <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1166 Sets minimum intron length. Default: 20
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1167
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1168 --max-intronlen <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1169 Sets maximum intron length. Default: 500000
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1170
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1171 --no-spliced-alignment
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1172 Disable spliced alignment.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1173
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1174 -I/--minins <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1175 The minimum fragment length for valid paired-end alignments.This option is valid only with `--no-spliced-alignment`. E.g. if `-I 60` is specified and a paired-end alignment consists of two 20-bp alignments in the appropriate orientation with a 20-bp gap between them, that alignment is considered valid (as long as `-X` is also satisfied). A 19-bp gap would not be valid in that case. If trimming options `-3` or `-5` are also used, the `-I` constraint is applied with respect to the untrimmed mates.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1176
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1177 The larger the difference between `-I` and `-X`, the slower HISAT2 will run. This is because larger differences between `-I` and `-X` require that HISAT2 scan a larger window to determine if a concordant alignment exists. For typical fragment length ranges (200 to 400 nucleotides), HISAT2 is very efficient.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1178
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1179 Default: 0 (essentially imposing no minimum)
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1180
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1181 -X/--maxins <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1182 The maximum fragment length for valid paired-end alignments. This option is valid only with `--no-spliced-alignment`. E.g. if `-X 100` is specified and a paired-end alignment consists of two 20-bp alignments in the proper orientation with a 60-bp gap between them, that alignment is considered valid (as long as `-I` is also satisfied). A 61-bp gap would not be valid in that case. If trimming options `-3` or `-5` are also used, the -X constraint is applied with respect to the untrimmed mates, not the trimmed mates.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1183
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1184 The larger the difference between `-I` and `-X`, the slower HISAT2 will run. This is because larger differences between `-I` and `-X` require that HISAT2 scan a larger window to determine if a concordant alignment exists. For typical fragment length ranges (200 to 400 nucleotides), HISAT2 is very efficient.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1185
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1186 Default: 500.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1187
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1188 --known-splicesite-infile <path>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1189 With this mode, you can provide a list of known splice sites, which HISAT2 makes use of to align reads with small anchors. You can create such a list using python hisat2_extract_splice_sites.py genes.gtf > splicesites.txt, where hisat2_extract_splice_sites.py is included in the HISAT2 package, genes.gtf is a gene annotation file, and splicesites.txt is a list of splice sites with which you provide HISAT2 in this mode. Note that it is better to use indexes built using annotated transcripts (such as genome_tran or genome_snp_tran), which works better than using this option. It has no effect to provide splice sites that are already included in the indexes.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1190
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1191 --tmo/--transcriptome-mapping-only
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1192 Report only those alignments within known transcripts.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1193
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1194 --dta/--downstream-transcriptome-assembly
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1195 Report alignments tailored for transcript assemblers including StringTie. With this option, HISAT2 requires longer anchor lengths for de novo discovery of splice sites. This leads to fewer alignments with short-anchors, which helps transcript assemblers improve significantly in computation and memory usage.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1196
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1197 --dta-cufflinks
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1198 Report alignments tailored specifically for Cufflinks. In addition to what HISAT2 does with the above option (--dta), With this option, HISAT2 looks for novel splice sites with three signals (GT/AG, GC/AG, AT/AC), but all user-provided splice sites are used irrespective of their signals. HISAT2 produces an optional field, XS:A:[+-], for every spliced alignment.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1199
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1200 --no-templatelen-adjustment
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1201 Disables template length adjustment for RNA-seq reads.
25
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
1202
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
1203 --novel-splicesite-outfile
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
1204 In this mode, HISAT2 reports a list of splice sites in the file :
3fb01a8c902d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit b7df8879a0f5d75c8562700fe9b5dc9e8173a652
iuc
parents: 24
diff changeset
1205 chromosome name <tab> genomic position of the flanking base on the left side of an intron <tab> genomic position of the flanking base on the right <tab> strand (+, -, and .) '.' indicates an unknown strand for non-canonical splice sites.
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1206
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1207 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1208
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1209 **Reporting options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1210
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1211 -k <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1212 It searches for at most `<int>` distinct, primary alignments for each read. Primary alignments mean alignments whose alignment score is equal or higher than any other alignments. The search terminates when it can't find more distinct valid alignments, or when it finds `<int>`, whichever happens first. The alignment score for a paired-end alignment equals the sum of the alignment scores of the individual mates. Each reported read or pair alignment beyond the first has the SAM 'secondary' bit (which equals 256) set in its FLAGS field. For reads that have more than `<int>` distinct, valid alignments, hisat2 does not guarantee that the `<int>` alignments reported are the best possible in terms of alignment score. Default: 5 (HFM) or 10 (HGFM)
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1213
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1214 Note: HISAT2 is not designed with large values for `-k` in mind, and when aligning reads to long, repetitive genomes large `-k` can be very, very slow.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1215
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1216 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1217
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1218 **Paired-end options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1219
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1220 --fr/--rf/--ff
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1221 The upstream/downstream mate orientations for a valid paired-end alignment
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1222 against the forward reference strand. E.g., if `--fr` is specified and there is
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1223 a candidate paired-end alignment where mate 1 appears upstream of the reverse
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1224 complement of mate 2 and the fragment length constraints (`-I` and `-X`) are
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1225 met, that alignment is valid. Also, if mate 2 appears upstream of the reverse
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1226 complement of mate 1 and all other constraints are met, that too is valid.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1227 `--rf` likewise requires that an upstream mate1 be reverse-complemented and a
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1228 downstream mate2 be forward-oriented. ` --ff` requires both an upstream mate 1
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1229 and a downstream mate 2 to be forward-oriented. Default: `--fr` (appropriate
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1230 for Illumina's Paired-end Sequencing Assay).
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1231
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1232 --no-mixed
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1233 By default, when `hisat2` cannot find a concordant or discordant alignment for
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1234 a pair, it then tries to find alignments for the individual mates. This option
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1235 disables that behavior.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1236
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1237 --no-discordant
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1238 By default, `hisat2` looks for discordant alignments if it cannot find any
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1239 concordant alignments. A discordant alignment is an alignment where both mates
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1240 align uniquely, but that does not satisfy the paired-end constraints
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1241 (`--fr`/`--rf`/`--ff`, `-I`, `-X`). This option disables that behavior.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1242
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1243
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1244 **Output options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1245
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1246 --un/--un-gz/--un-bz2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1247 Write unpaired reads that fail to align to file at `<path>`. These reads correspond to the SAM records with the FLAGS `0x4` bit set and neither the `0x40` nor `0x80` bits set. If `--un-gz` is specified, output will be gzip compressed. If `--un-bz2` is specified, output will be bzip2 compressed. Reads written in this way will appear exactly as they did in the input file, without any modification (same sequence, same name, same quality string, same quality encoding). Reads will not necessarily appear in the same order as they did in the input.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1248
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1249 --al/--al-gz/--al-bz2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1250 Write unpaired reads that align at least once to file at `<path>`. These reads correspond to the SAM records with the FLAGS `0x4`, `0x40`, and `0x80` bits unset. If `--al-gz` is specified, output will be gzip compressed. If `--al-bz2` is specified, output will be bzip2 compressed. Reads written in this way will appear exactly as they did in the input file, without any modification (same sequence, same name, same quality string, same quality encoding). Reads will not necessarily appear in the same order as they did in the input.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1251
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1252 --un-conc/--un-conc-gz/--un-conc-bz2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1253 Write paired-end reads that fail to align concordantly to file(s) at `<path>`. These reads correspond to the SAM records with the FLAGS `0x4` bit set and either the `0x40` or `0x80` bit set (depending on whether it's mate #1 or #2). .1 and .2 strings are added to the filename to distinguish which file contains mate #1 and mate #2. If a percent symbol, %, is used in <path>, the percent symbol is replaced with 1 or 2 to make the per-mate filenames. Otherwise, .1 or .2 are added before the final dot in <path> to make the per-mate filenames. Reads written in this way will appear exactly as they did in the input files, without any modification (same sequence, same name, same quality string, same quality encoding). Reads will not necessarily appear in the same order as they did in the inputs.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1254
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1255 --al-conc/--al-conc-gz/--al-conc-bz2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1256 Write paired-end reads that align concordantly at least once to file(s) at `<path>`. These reads correspond to the SAM records with the FLAGS `0x4` bit unset and either the `0x40` or `0x80` bit set (depending on whether it's mate #1 or #2). .1 and .2 strings are added to the filename to distinguish which file contains mate #1 and mate #2. If a percent symbol, %, is used in <path>, the percent symbol is replaced with 1 or 2 to make the per-mate filenames. Otherwise, .1 or .2 are added before the final dot in `<path>` to make the per-mate filenames. Reads written in this way will appear exactly as they did in the input files, without any modification (same sequence, same name, same quality string, same quality encoding). Reads will not necessarily appear in the same order as they did in the inputs.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1257
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1258
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1259 **Other options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1260
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1261 --seed <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1262 Use `<int>` as the seed for pseudo-random number generator. Default: 0.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1263
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1264 --non-deterministic
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1265 Normally, HISAT2 re-initializes its pseudo-random generator for each read. It seeds the generator with a number derived from (a) the read name, (b) the nucleotide sequence, (c) the quality sequence, (d) the value of the `--seed` option. This means that if two reads are identical (same name, same nucleotides, same qualities) HISAT2 will find and report the same alignment(s) for both, even if there was ambiguity. When `--non-deterministic` is specified, HISAT2 re-initializes its pseudo-random generator for each read using the current time. This means that HISAT2 will not necessarily report the same alignment for two identical reads. This is counter-intuitive for some users, but might be more appropriate in situations where the input consists of many identical reads.
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
1266 ]]></help>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1267 <citations>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1268 <citation type="doi">10.1038/nmeth.3317</citation>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1269 </citations>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1270 </tool>