annotate hisat2.xml @ 18:764756ab0eb5 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
author iuc
date Mon, 26 Mar 2018 17:23:52 -0400
parents 40e1083a4430
children fbf98f24097b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1 <tool id="hisat2" name="HISAT2" version="2.1.0" 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>
9
2dbb7f0ea66f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 1baf0d1eb5d9cb012e4ce1385431461f26f7bc05
iuc
parents: 8
diff changeset
8 <requirement type="package" version="1.4">samtools</requirement>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
9 </requirements>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
10 <stdio>
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
11 <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
12 <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
13 <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
14 </stdio>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
15 <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
16 <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
17
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
46 #else if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
49 #else if $library.input_1.is_of_type('fasta'):
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
60 #else if $library.input_2.is_of_type("fastq.bz2", "fastqsanger.bz2"):
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
63 #else if $library.input_2.is_of_type('fasta'):
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
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
70 #else if str($library.type) == 'paired_collection':
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
74 #else if $library.input_1.forward.is_of_type("fastq.bz2", "fastqsanger.bz2"):
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
77 #else if $library.input_1.forward.is_of_type('fasta'):
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
88 #else if $library.input_1.reverse.is_of_type("fastq.bz2", "fastqsanger.bz2"):
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"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
91 #else if $library.input_1.reverse.is_of_type("fasta"):
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} &&
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
97
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
98 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
99 #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
100 #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
101 #set compressed = "GZ"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
102 #else if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
103 #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
104 #set compressed = "BZ2"
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
105 #else if $library.input_1.is_of_type('fasta'):
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
106 #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
107 #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
108 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
109 #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
110 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
111 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
112 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
113
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
114
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
115 ## Run HISAT2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
116
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
117 hisat2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
118
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
119 ## number threads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
120 -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
121
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
122 ## 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
123 -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
124
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
125 ## 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
126 #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
127 -f
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
128 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
129
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
130 ## Input reads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
131
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
132 #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
133
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
134 -U '${read1}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
135
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
136 #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
137 #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
138 #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
139 --un-gz '$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
140 #else if $compressed == "BZ2":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
141 --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
142 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
143 --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
144 #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
145 #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
146
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
147 #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
148 #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
149 --al-gz '$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
150 #else if $compressed == "BZ2":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
151 --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
152 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
153 --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
154 #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
155 #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
156 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
157
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
158 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
159
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
160 -1 '${read1}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
161 -2 '${read2}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
162
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
163 #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
164 #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
165 #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
166 --un-conc-gz '${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
167 #else if $compressed == "BZ2":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
168 --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
169 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
170 --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
171 #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
172 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
173
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
174 #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
175 #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
176 --al-conc-gz '${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
177 #else if $compressed == "BZ2":
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
178 --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
179 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
180 --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
181 #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
182 #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
183 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
184
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
185 #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
186 ${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
187 ${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
188 ${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
189 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
190
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
191 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
192
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
193
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
194 ## 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
195
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
196 #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
197 --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
198 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
199
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
200
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
201 ## Input options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
202
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
203 #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
204 #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
205 --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
206 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
207 #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
208 --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
209 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
210 --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
211 --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
212 ${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
213 ${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
214 ${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
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 ## Alignment options
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($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
221 --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
222 ${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
223 ${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
224 ${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
225 #end if
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
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
228 ## Scoring options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
229
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
230 #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
231 --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
232 ${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
233 --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
234 --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
235 --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
236 --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
237 --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
238 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
239
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 ## 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
242
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
243 #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
244 --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
245 --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
246 --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
247 --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
248 #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
249 --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
250 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
251 ${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
252 #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
253 -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
254 -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
255 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
256 --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
257 --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
258 ${adv.spliced_options.tma}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
259
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
260 #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
261 ${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
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 #end if
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
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
266 ## Reporting options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
267
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
268 #if str($adv.reporting_options.reporting_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
269 -k ${adv.reporting_options.max_primary}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
270 --max-seeds ${adv.reporting_options.max_seeds}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
271 $adv.reporting_options.secondary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
272 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
273
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
274
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
275 ## Other options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
276
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
277 #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
278 ${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
279 --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
280 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
281
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
282
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
283 ## Output Summary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
284
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
285 #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
286 --new-summary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
287 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
288
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
289 #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
290 --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
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 ## Convert SAM output to sorted BAM
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
294
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
295 | samtools sort - -@ \${GALAXY_SLOTS:-1} -l 6 -o '${output_alignments}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
296
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
297 ## 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
298
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
299 #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
300 #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
301 #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
302 && 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
303 && 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
304 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
305 #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
306 #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
307 #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
308 && 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
309 && 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
310 #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
311 ]]></command>
15
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 <!-- Define inputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
314
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
315 <inputs>
15
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 <!-- Reference genome -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
318 <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
319 <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
320 <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
321 <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
322 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
323 <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
324 <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
325 <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
326 <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
327 <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
328 </options>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
329 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
330 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
331 <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
332 <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
333 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
334 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
335
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
336 <!-- Reads -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
337 <conditional name="library">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
338 <param name="type" type="select" label="Single-end or paired-end reads?">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
339 <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
340 <option value="paired">Paired-end</option>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
341 <option value="paired_collection">Paired-end Collection</option>
13
f4fa77189eb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 24fd129248023df91579027d9061468d01fc2350
iuc
parents: 12
diff changeset
342 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
343
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
344 <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
345 <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
346 <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
347 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
348 <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
349 <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
350 <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
351 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
352 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
353
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
354 <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
355 <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
356 <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
357 <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
358 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
359
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
360 <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
361 <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
362 <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
363 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
364 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
365
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
366 <!-- Summary Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
367 <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
368 <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
369 <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
370 </section>
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 <!-- Advanced Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
373 <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
374 <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
375 <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
376 <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
377 <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
378 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
379 <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
380 <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
381 <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
382 <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
383 <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
384 <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
385 <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
386 <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
387 <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
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 <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
390 <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
391 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
392 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
393
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
394 <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
395 <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
396 <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
397 <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
398 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
399 <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
400 <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
401 <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
402 <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
403 <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
404 <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
405 <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
406 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
407 <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
408 <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
409 <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
410 <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
411 <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
412 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
413 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
414
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="scoring_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="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
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 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
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="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
423 <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
424 <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
425 <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
426 <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
427 <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
428 <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
429 <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
430 <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
431 <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
432 <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
433 <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
434 <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
435 <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
436 <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
437 <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
438 <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
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>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
441 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
442
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
443 <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
444 <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
445 <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
446 <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
447 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
448 <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
449 <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
450 <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
451 <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
452 <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
453 <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
454 <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
455 <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
456 <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
457 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
458 <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
459 <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
460 <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
461 <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
462 <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
463 <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
464 <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
465 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
466 <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
467 <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
468 <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
469 <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
470 <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
471 <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
472 <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
473 <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
474 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
475 <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
476 <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
477 <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
478 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
479 <when value="" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
480 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
481 <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
482 <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
483 <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
484 <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
485 <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
486 <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
487 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
488 <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" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
489 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
490 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
491
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
492 <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
493 <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
494 <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
495 <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
496 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
497 <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
498 <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
499 <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
500 <param name="max_seeds" argument="--max-seeds" type="integer" min="0" optional="true" label="Maximum number of seeds that will be extended" help="HISAT2, like other aligners, uses seed-and-extend approaches. HISAT2 tries to extend seeds to full-length alignments. HISAT2 extends up to these many seeds and skips the rest of the seeds. Large values for --max-seeds may improve alignment sensitivity, but HISAT2 is not designed with large values for --max-seeds in mind, and when aligning reads to long repetitive genomes, a large --max-seeds 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
501 <param name="secondary" argument="--secondary" type="boolean" truevalue="--secondary" falsevalue="" label="Report secondary alignments" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
502 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
503 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
504
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
505 <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
506 <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
507 <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
508 <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
509 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
510 <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
511 <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
512 <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
513 <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
514 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
515 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
516
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
517 <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
518 <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
519 <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
520 <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
521 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
522 <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
523 <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
524 <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
525 <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
526 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
527 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
528 </section>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
529
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
530 </inputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
531
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
532 <!-- Define outputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
533
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
534 <outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
535
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
536 <!-- BAM -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
537 <data name="output_alignments" format="bam" label="${tool.name} on ${on_string}: aligned reads (BAM) " />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
538
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
539 <!-- 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
540 <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
541 <filter>adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['unaligned_file'] is True</filter>
3
b1e25f9b5eab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 9a9d44116b21d9a155b5cc274475e78c14915059
iuc
parents: 2
diff changeset
542 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
543
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
544 <!-- 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
545 <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
546 <filter>adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['aligned_file'] is True</filter>
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
547 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
548
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
549 <!-- 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
550 <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
551 <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>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
552 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
553
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
554 <!-- 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
555 <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
556 <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>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
557 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
558
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
559 <!-- Alignment summary file -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
560 <data name="summary_file" format="txt" from_work_dir="summary.txt" label="${tool.name} on ${on_string}: Mapping summary" >
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
561 <filter>sum['summary_file'] is True</filter>
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
562 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
563
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
564 </outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
565
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
566 <!-- Define tests -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
567
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
568 <tests>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
569 <!-- 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
570 <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
571 <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
572 <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
573 <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
574 <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
575 <param name="input_2" ftype="fastqsanger" value="hisat_input_1_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
576 <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
577 </test>
18
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
578 <!-- 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
579 <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
580 <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
581 <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
582 <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
583 <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
584 <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
585 <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
586 <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
587 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
588 <!-- 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
589 <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
590 <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
591 <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
592 <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
593 <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
594 <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
595 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
596 <!-- 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
597 <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
598 <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
599 <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
600 <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
601 <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
602 <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
603 <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
604 <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
605 <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
606 <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
607 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
608 <!-- 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
609 <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
610 <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
611 <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
612 <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
613 <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
614 <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
615 <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
616 <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
617 <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
618 <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
619 <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
620 <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
621 <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
622 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
623 <!-- 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
624 <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
625 <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
626 <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
627 <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
628 <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
629 <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
630 <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
631 <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
632 <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
633 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
634 <!-- 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
635 <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
636 <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
637 <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
638 <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
639 <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
640 <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
641 <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
642 <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
643 <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
644 <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
645 <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
646 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
647 <!-- 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
648 <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
649 <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
650 <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
651 <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
652 <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
653 <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
654 <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
655 <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
656 <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
657 <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
658 <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
659 <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
660 <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
661 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
662 <!-- 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
663 <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
664 <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
665 <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
666 <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
667 <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
668 <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
669 <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
670 <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
671 <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
672 <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
673 <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
674 <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
675 <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
676 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
677 <!-- 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
678 <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
679 <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
680 <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
681 <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
682 <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
683 <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
684 <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
685 <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
686 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
687 <!-- 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
688 <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
689 <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
690 <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
691 <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
692 <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
693 <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
694 <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
695 <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
696 <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
697 </test>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
698 </tests>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
699
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
700 <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
701 Introduction
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
702 ============
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
703
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
704 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
705 --------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
706
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
707 `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
708 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
709 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
710 (`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
711 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
712 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
713 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
714 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
715 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
716 ~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
717 ~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
718 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
719 `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
720 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
721 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
722 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
723 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
724 `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
725 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
726 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
727 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
728 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
729 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
730 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
731 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
732 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
733 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
734 `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
735 `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
736 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
737 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
738 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
739
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
740 Running HISAT
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
741 =============
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
742
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
743 Reporting
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
744 ---------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
745
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
746 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
747 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
748
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
749 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
750 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
751 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
752 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
753 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
754
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
755 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
756 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
757
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
758 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
759 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
760 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
761 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
762 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
763 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
764 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
765 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
766 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
767 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
768 alignments.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
769
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
770 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
771 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
772 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
773
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
774 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
775 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
776
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
777 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
778 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
779 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
780 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
781 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
782 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
783 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
784 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
785 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
786 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
787 for details.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
788
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
789 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
790 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
791 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
792 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
793 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
794 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
795
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
796 Alignment summmary
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
797 ------------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
798
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
799 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
800 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
801
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
802 ::
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
803
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
804 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
805 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
806 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
807 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
808 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
809 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
810
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
811 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
812
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
813 ::
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
814
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
815 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
816 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
817 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
818 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
819 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
820 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
821 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
822 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
823 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
824 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
825 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
826 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
827 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
828 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
829 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
830
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
831 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
832
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
833
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
834 .. class:: infomark
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
835
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
836 **HISAT2 options**
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
837
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
838 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
839
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
840 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
841
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
842 **Inputs**
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
843
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
844 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
845
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
846 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
847
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
848 ------
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
849
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
850 **Input options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
851
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
852 -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
853 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
854
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
855 -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
856 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
857 `-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
858
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
859 -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
860 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
861
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
862 -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
863 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
864
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
865 --phred33
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
866 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
867 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
868 pipelines.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
869
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
870 --phred64
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
871 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
872 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
873
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
874 --solexa-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
875 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
876 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
877 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
878
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
879 --int-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
880 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
881 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
882 `--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
883
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
884 ------
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
885
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
886 **Alignment options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
887
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
888 --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
889 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
890 `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
891 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
892 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
893 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
894
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
895 --ignore-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
896 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
897 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
898 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
899 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
900 `-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
901
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
902 --nofw/--norc
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
903 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
904 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
905 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
906 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
907 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
908 (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
909
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
910 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
911
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
912 **Scoring options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
913
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
914 --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
915 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
916 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
917 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
918 `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
919 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
920 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
921
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
922 --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
923 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
924
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
925 --no-softclip
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
926 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
927
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
928 --np <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
929 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
930 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
931
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
932 --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
933 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
934 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
935
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
936 --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
937 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
938 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
939 5, 3.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
940
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
941 --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
942 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
943 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
944 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
945 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
946
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
947 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
948
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
949 **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
950
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
951 --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
952 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
953
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
954 --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
955 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
956
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
957 --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
958 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
959
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
960 --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
961 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
962
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
963 --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
964 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
965
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
966 --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
967 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
968
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
969 --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
970 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
971
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
972 -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
973 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
974
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
975 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
976
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
977 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
978
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
979 -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
980 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
981
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
982 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
983
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
984 Default: 500.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
985
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
986 --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
987 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
988
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
989 --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
990 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
991
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
992 --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
993 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
994
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
995 --dta-cufflinks
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
996 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
997
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
998 --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
999 Disables template length adjustment for RNA-seq reads.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1000
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1001 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1002
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1003 **Reporting options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1004
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1005 -k <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1006 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
1007
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1008 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
1009
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1010 -max-seeds
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1011 HISAT2, like other aligners, uses seed-and-extend approaches. HISAT2 tries to extend seeds to full-length alignments. In HISAT2, `--max-seeds` is used to control the maximum number of seeds that will be extended. HISAT2 extends up to these many seeds and skips the rest of the seeds. Large values for `--max-seeds` may improve alignment sensitivity, but HISAT2 is not designed with large values for `--max-seeds` in mind, and when aligning reads to long, repetitive genomes large `--max-seeds` can be very, very slow. The default value is the maximum of 5 and the value that comes with `-k`.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1012
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1013 --secondary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1014 Report secondary alignments.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1015
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1016 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1017
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1018 **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
1019
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1020 --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
1021 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
1022 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
1023 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
1024 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
1025 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
1026 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
1027 `--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
1028 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
1029 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
1030 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
1031
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1032 --no-mixed
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1033 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
1034 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
1035 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
1036
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1037 --no-discordant
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1038 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
1039 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
1040 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
1041 (`--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
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 **Output options**::
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 --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
1047 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
1048
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1049 --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
1050 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
1051
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1052 --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
1053 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
1054
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1055 --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
1056 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
1057
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1058
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1059 **Other options**::
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 --seed <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1062 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
1063
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1064 --non-deterministic
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1065 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.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1066
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
1067 ]]></help>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1068 <citations>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1069 <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
1070 </citations>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1071 </tool>