annotate hisat2.xml @ 19:fbf98f24097b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 9bbf35d7f47e5ab6b78248c9907b71446d4e7b0c
author iuc
date Tue, 10 Apr 2018 18:41:43 -0400
parents 764756ab0eb5
children 6ab42baa56e9
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[
19
fbf98f24097b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 9bbf35d7f47e5ab6b78248c9907b71446d4e7b0c
iuc
parents: 18
diff changeset
17 ## Use pipefail if available to quit with first non-zero exit code
fbf98f24097b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 9bbf35d7f47e5ab6b78248c9907b71446d4e7b0c
iuc
parents: 18
diff changeset
18 set -o | grep -q pipefail && set -o pipefail;
15
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 ## 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
21
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
22 #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
23 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
24 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
25 #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
26 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
27 #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
28 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
29
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 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
32
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
33 #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
34 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
35 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
36 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
37
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 ## 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
40
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
41 #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
42 #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
43
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
44 #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
45 #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
46 #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
47 #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
48 #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
49 #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
50 #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
51 #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
52 #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
53 #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
54 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
55 #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
56 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
57 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
58
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
59 #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
60 #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
61 #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
62 #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
63 #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
64 #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
65 #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
66 #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
67 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
68 #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
69 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
70 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
71
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
72 #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
73 #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
74 #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
75 #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
76 #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
77 #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
78 #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
79 #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
80 #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
81 #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
82 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
83 #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
84 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
85 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
86
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
87 #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
88 #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
89 #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
90 #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
91 #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
92 #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
93 #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
94 #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
95 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
96 #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
97 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
98 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
99
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
100 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
101 #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
102 #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
103 #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
104 #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
105 #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
106 #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
107 #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
108 #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
109 #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
110 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
111 #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
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 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
114 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
115
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 ## Run 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 hisat2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
120
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
121 ## number threads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
122 -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
123
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
124 ## 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
125 -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
126
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
127 ## 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
128 #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
129 -f
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
130 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
131
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
132 ## Input reads
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 #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
135
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
136 -U '${read1}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
137
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
138 #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
139 #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
140 #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
141 --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
142 #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
143 --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
144 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
145 --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
146 #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
147 #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
148
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
149 #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
150 #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
151 --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
152 #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
153 --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
154 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
155 --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
156 #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
157 #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
158 #end if
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 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
161
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
162 -1 '${read1}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
163 -2 '${read2}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
164
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
165 #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
166 #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
167 #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
168 --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
169 #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
170 --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
171 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
172 --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
173 #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
174 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
175
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
176 #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
177 #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
178 --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
179 #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
180 --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
181 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
182 --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
183 #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
184 #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
185 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
186
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
187 #if str($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
188 ${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
189 ${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
190 ${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
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 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
194
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 ## 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
197
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
198 #if str($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
199 --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
200 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
201
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 ## Input options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
204
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
205 #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
206 #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
207 --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
208 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
209 #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
210 --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
211 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
212 --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
213 --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
214 ${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
215 ${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
216 ${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
217 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
218
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 ## Alignment options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
221
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
222 #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
223 --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
224 ${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
225 ${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
226 ${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
227 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
228
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 ## Scoring options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
231
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
232 #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
233 --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
234 ${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
235 --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
236 --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
237 --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
238 --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
239 --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
240 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
241
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
242
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
243 ## 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
244
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
245 #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
246 --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
247 --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
248 --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
249 --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
250 #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
251 --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
252 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
253 ${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
254 #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
255 -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
256 -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
257 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
258 --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
259 --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
260 ${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
261
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
262 #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
263 ${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
264 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
265 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
266
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
267
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
268 ## Reporting options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
269
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
270 #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
271 -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
272 --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
273 $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
274 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
275
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 ## Other options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
278
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
279 #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
280 ${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
281 --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
282 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
283
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 ## Output Summary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
286
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
287 #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
288 --new-summary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
289 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
290
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
291 #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
292 --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
293 #end if
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 ## 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
296
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
297 | 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
298
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
299 ## 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
300
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
301 #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
302 #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
303 #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
304 && 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
305 && 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
306 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
307 #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
308 #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
309 #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
310 && 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
311 && 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
312 #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
313 ]]></command>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
314
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
315 <!-- Define inputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
316
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
317 <inputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
318
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
319 <!-- Reference genome -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
320 <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
321 <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
322 <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
323 <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
324 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
325 <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
326 <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
327 <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
328 <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
329 <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
330 </options>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
331 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
332 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
333 <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
334 <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
335 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
336 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
337
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
338 <!-- Reads -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
339 <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
340 <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
341 <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
342 <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
343 <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
344 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
345
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
346 <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
347 <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
348 <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
349 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
350 <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
351 <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
352 <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
353 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
354 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
355
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
356 <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
357 <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
358 <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
359 <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
360 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
361
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
362 <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
363 <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
364 <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
365 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
366 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
367
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
368 <!-- Summary Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
369 <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
370 <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
371 <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
372 </section>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
373
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
374 <!-- Advanced Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
375 <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
376 <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
377 <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
378 <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
379 <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
380 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
381 <when value="defaults" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
382 <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
383 <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
384 <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
385 <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
386 <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
387 <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
388 <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
389 <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
390 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
391 <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
392 <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
393 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
394 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
395
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
396 <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
397 <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
398 <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
399 <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
400 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
401 <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
402 <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
403 <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
404 <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
405 <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
406 <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
407 <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
408 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
409 <param name="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
410 <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
411 <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
412 <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
413 <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
414 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
415 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
416
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
417 <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
418 <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
419 <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
420 <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
421 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
422 <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
423 <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
424 <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
425 <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
426 <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
427 <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
428 <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
429 <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
430 <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
431 <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
432 <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
433 <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
434 <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
435 <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
436 <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
437 <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
438 <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
439 <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
440 <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
441 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
442 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
443 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
444
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
445 <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
446 <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
447 <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
448 <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
449 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
450 <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
451 <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
452 <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
453 <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
454 <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
455 <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
456 <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
457 <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
458 <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
459 </param>
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="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
461 <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
462 <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
463 <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
464 <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
465 <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
466 <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
467 </param>
15
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="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
469 <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
470 <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
471 <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
472 <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
473 <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
474 <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
475 <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
476 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
477 <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
478 <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
479 <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
480 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
481 <when value="" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
482 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
483 <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
484 <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
485 <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
486 <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
487 <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
488 <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
489 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
490 <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
491 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
492 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
493
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
494 <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
495 <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
496 <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
497 <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
498 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
499 <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
500 <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
501 <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
502 <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
503 <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
504 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
505 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
506
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
507 <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
508 <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
509 <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
510 <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
511 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
512 <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
513 <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
514 <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
515 <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
516 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
517 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
518
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
519 <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
520 <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
521 <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
522 <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
523 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
524 <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
525 <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
526 <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
527 <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
528 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
529 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
530 </section>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
531
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
532 </inputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
533
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
534 <!-- Define outputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
535
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
536 <outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
537
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
538 <!-- BAM -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
539 <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
540
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
541 <!-- 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
542 <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
543 <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
544 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
545
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
546 <!-- 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
547 <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
548 <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
549 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
550
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
551 <!-- 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
552 <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
553 <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
554 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
555
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
556 <!-- 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
557 <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
558 <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
559 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
560
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
561 <!-- 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
562 <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
563 <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
564 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
565
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
566 </outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
567
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
568 <!-- Define tests -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
569
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
570 <tests>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
571 <!-- 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
572 <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
573 <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
574 <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
575 <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
576 <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
577 <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
578 <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
579 </test>
18
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
580 <!-- 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
581 <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
582 <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
583 <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
584 <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
585 <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
586 <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
587 <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
588 <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
589 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
590 <!-- 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
591 <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
592 <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
593 <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
594 <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
595 <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
596 <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
597 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
598 <!-- 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
599 <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
600 <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
601 <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
602 <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
603 <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
604 <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
605 <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
606 <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
607 <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
608 <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
609 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
610 <!-- 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
611 <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
612 <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
613 <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
614 <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
615 <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
616 <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
617 <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
618 <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
619 <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
620 <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
621 <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
622 <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
623 <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
624 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
625 <!-- 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
626 <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
627 <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
628 <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
629 <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
630 <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
631 <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
632 <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
633 <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
634 <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
635 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
636 <!-- 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
637 <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
638 <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
639 <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
640 <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
641 <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
642 <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
643 <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
644 <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
645 <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
646 <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
647 <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
648 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
649 <!-- 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
650 <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
651 <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
652 <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
653 <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
654 <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
655 <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
656 <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
657 <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
658 <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
659 <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
660 <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
661 <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
662 <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
663 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
664 <!-- 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
665 <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
666 <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
667 <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
668 <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
669 <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
670 <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
671 <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
672 <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
673 <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
674 <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
675 <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
676 <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
677 <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
678 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
679 <!-- 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
680 <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
681 <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
682 <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
683 <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
684 <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
685 <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
686 <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
687 <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
688 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
689 <!-- 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
690 <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
691 <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
692 <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
693 <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
694 <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
695 <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
696 <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
697 <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
698 <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
699 </test>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
700 </tests>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
701
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
702 <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
703 Introduction
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
704 ============
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 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
707 --------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
708
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
709 `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
710 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
711 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
712 (`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
713 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
714 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
715 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
716 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
717 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
718 ~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
719 ~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
720 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
721 `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
722 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
723 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
724 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
725 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
726 `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
727 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
728 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
729 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
730 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
731 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
732 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
733 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
734 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
735 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
736 `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
737 `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
738 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
739 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
740 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
741
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
742 Running HISAT
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
743 =============
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 Reporting
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
746 ---------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
747
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
748 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
749 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
750
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
751 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
752 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
753 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
754 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
755 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
756
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
757 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
758 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
759
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
760 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
761 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
762 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
763 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
764 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
765 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
766 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
767 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
768 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
769 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
770 alignments.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
771
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
772 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
773 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
774 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
775
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
776 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
777 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
778
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
779 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
780 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
781 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
782 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
783 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
784 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
785 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
786 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
787 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
788 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
789 for details.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
790
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
791 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
792 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
793 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
794 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
795 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
796 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
797
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
798 Alignment summmary
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
799 ------------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
800
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
801 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
802 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
803
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
804 ::
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
805
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
806 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
807 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
808 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
809 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
810 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
811 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
812
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
813 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
814
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
815 ::
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
816
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
817 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
818 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
819 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
820 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
821 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
822 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
823 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
824 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
825 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
826 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
827 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
828 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
829 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
830 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
831 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
832
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
833 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
834
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 .. class:: infomark
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 **HISAT2 options**
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 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
841
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
842 -----
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 **Inputs**
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 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
847
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
848 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
849
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
850 ------
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 **Input options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
853
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
854 -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
855 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
856
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
857 -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
858 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
859 `-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
860
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
861 -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
862 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
863
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
864 -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
865 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
866
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
867 --phred33
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
868 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
869 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
870 pipelines.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
871
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
872 --phred64
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
873 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
874 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
875
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
876 --solexa-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
877 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
878 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
879 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
880
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
881 --int-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
882 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
883 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
884 `--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
885
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
886 ------
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 **Alignment options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
889
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
890 --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
891 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
892 `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
893 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
894 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
895 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
896
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
897 --ignore-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
898 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
899 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
900 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
901 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
902 `-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
903
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
904 --nofw/--norc
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
905 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
906 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
907 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
908 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
909 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
910 (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
911
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
912 -----
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 **Scoring options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
915
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
916 --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
917 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
918 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
919 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
920 `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
921 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
922 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
923
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
924 --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
925 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
926
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
927 --no-softclip
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
928 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
929
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
930 --np <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
931 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
932 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
933
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
934 --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
935 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
936 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
937
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
938 --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
939 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
940 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
941 5, 3.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
942
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
943 --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
944 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
945 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
946 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
947 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
948
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
949 -----
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 **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
952
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
953 --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
954 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
955
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
956 --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
957 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
958
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
959 --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
960 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
961
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
962 --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
963 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
964
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
965 --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
966 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
967
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
968 --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
969 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
970
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
971 --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
972 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
973
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
974 -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
975 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
976
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
977 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
978
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
979 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
980
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
981 -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
982 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
983
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
984 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
985
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
986 Default: 500.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
987
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
988 --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
989 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
990
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
991 --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
992 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
993
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
994 --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
995 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
996
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
997 --dta-cufflinks
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
998 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
999
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1000 --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
1001 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
1002
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1003 -----
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 **Reporting options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1006
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1007 -k <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1008 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
1009
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1010 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
1011
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1012 -max-seeds
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1013 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
1014
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1015 --secondary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1016 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
1017
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1018 -----
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 **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
1021
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1022 --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
1023 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
1024 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
1025 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
1026 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
1027 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
1028 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
1029 `--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
1030 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
1031 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
1032 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
1033
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1034 --no-mixed
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1035 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
1036 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
1037 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
1038
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1039 --no-discordant
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1040 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
1041 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
1042 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
1043 (`--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
1044
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 **Output options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1047
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1048 --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
1049 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
1050
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1051 --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
1052 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
1053
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1054 --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
1055 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
1056
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1057 --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
1058 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
1059
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 **Other options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1062
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1063 --seed <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1064 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
1065
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1066 --non-deterministic
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1067 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
1068
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
1069 ]]></help>
0
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 <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
1072 </citations>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1073 </tool>