annotate hisat2.xml @ 21:0b1c04a90182 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
author iuc
date Sat, 14 Jul 2018 09:06:59 -0400
parents 6ab42baa56e9
children a26ed87f444c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
1 <tool id="hisat2" name="HISAT2" version="2.1.0+galaxy1" 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>
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
8 <requirement type="package" version="1.8">samtools</requirement>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
9 </requirements>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
10 <stdio>
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
11 <regex level="fatal" match="hisat2-align exited with value 1" source="both" />
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
12 <regex level="fatal" match="hisat2: not found" source="both" />
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
13 <exit_code range="1:" />
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
14 </stdio>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
15 <version_command>hisat2 --version</version_command>
8
4d0a3173cde0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 379063161020578e1bd306769116c1b691216b35
iuc
parents: 7
diff changeset
16 <command><![CDATA[
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
17 ## 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
18
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
19 #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
20 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
21 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
22 #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
23 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
24 #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
25 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
26
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
27
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
28 ## 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
29
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
30 #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
31 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
32 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
33 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
34
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
35
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
36 ## 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
37
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
38 #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
39 #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
40
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
41 #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
42 #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
43 #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
44 #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
45 #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
46 #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
47 #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
48 #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
49 #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
50 #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
51 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
52 #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
53 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
54 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
55
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
56 #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
57 #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
58 #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
59 #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
60 #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
61 #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
62 #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
63 #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
64 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
65 #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
66 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
67 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
68
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
69 #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
70 #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
71 #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
72 #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
73 #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
74 #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
75 #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
76 #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
77 #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
78 #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
79 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
80 #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
81 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
82 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
83
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
84 #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
85 #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
86 #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
87 #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
88 #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
89 #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
90 #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
91 #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
92 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
93 #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
94 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
95 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
96
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
97 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
98 #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
99 #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
100 #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
101 #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
102 #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
103 #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
104 #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
105 #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
106 #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
107 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
108 #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
109 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
110 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
111 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
112
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
113
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
114 ## Run HISAT2
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 hisat2
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
117
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
118 ## number threads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
119 -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
120
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
121 ## 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
122 -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
123
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
124 ## 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
125 #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
126 -f
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
127 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
128
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
129 ## Input reads
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
130
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
131 #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
132
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
133 -U '${read1}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
134
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
135 #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
136 #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
137 #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
138 --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
139 #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
140 --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
141 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
142 --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
143 #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
144 #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
145
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
146 #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
147 #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
148 --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
149 #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
150 --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
151 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
152 --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
153 #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
154 #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
155 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
156
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
157 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
158
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
159 -1 '${read1}'
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
160 -2 '${read2}'
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 #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
163 #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
164 #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
165 --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
166 #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
167 --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
168 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
169 --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
170 #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
171 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
172
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
173 #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
174 #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
175 --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
176 #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
177 --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
178 #else:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
179 --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
180 #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
181 #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
182 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
183
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
184 #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
185 ${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
186 ${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
187 ${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
188 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
189
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
190 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
191
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 ## 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
194
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
195 #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
196 --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
197 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
198
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
199
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
200 ## Input options
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 #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
203 #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
204 --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
205 #end if
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.qupto ) > 0:
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
207 --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
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 --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
210 --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
211 ${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
212 ${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
213 ${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
214 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
215
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
216
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
217 ## Alignment options
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 #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
220 --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
221 ${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
222 ${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
223 ${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
224 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
225
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
226
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
227 ## Scoring options
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 #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
230 --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
231 ${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
232 --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
233 --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
234 --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
235 --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
236 --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
237 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
238
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
239
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
240 ## 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
241
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
242 #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
243 --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
244 --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
245 --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
246 --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
247 #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
248 --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
249 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
250 ${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
251 #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
252 -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
253 -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
254 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
255 --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
256 --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
257 ${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
258
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
259 #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
260 ${adv.spliced_options.notmplen}
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
261 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
262 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
263
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
264
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
265 ## Reporting options
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
266
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
267 #if str($adv.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
268 -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
269 --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
270 $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
271 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
272
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
273
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
274 ## Other options
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 #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
277 ${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
278 --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
279 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
280
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
281
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
282 ## Output Summary
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 #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
285 --new-summary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
286 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
287
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
288 #if str($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
289 --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
290 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
291
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
292 ## Convert SAM output to sorted BAM
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
293 ## using the two pipe stages has the following effect
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
294 ## - hisat2 and sort run in parallel, during this time sort produces
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
295 ## presorted temporary files but does not produce output (hence
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
296 ## view does not run)
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
297 ## - once hisat is finished sort will start to merge the temporary
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
298 ## files (which should be fast also on a single thread) gives the
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
299 ## sorted output to view which only compresses the files (now
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
300 ## using full parallelism again)
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
301
21
0b1c04a90182 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit dac38d1735c11fe614d0a986a796e33eb7f4a469
iuc
parents: 20
diff changeset
302 | samtools sort -l 0 -O bam | samtools view -O bam -@ \${GALAXY_SLOTS:-1} -o '${output_alignments}'
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
303
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
304 ## 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
305
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
306 #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
307 #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
308 #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
309 && 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
310 && 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
311 #end if
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
312 #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
313 #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
314 #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
315 && 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
316 && 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
317 #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
318 ]]></command>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
319
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
320 <!-- Define inputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
321
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
322 <inputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
323
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
324 <!-- Reference genome -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
325 <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
326 <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
327 <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
328 <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
329 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
330 <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
331 <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
332 <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
333 <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
334 <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
335 </options>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
336 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
337 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
338 <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
339 <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
340 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
341 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
342
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
343 <!-- Reads -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
344 <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
345 <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
346 <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
347 <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
348 <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
349 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
350
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
351 <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
352 <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
353 <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
354 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
355 <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
356 <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
357 <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
358 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
359 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
360
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
361 <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
362 <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
363 <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
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
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
367 <when value="paired_collection">
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
368 <param name="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
369 <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
370 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
371 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
372
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
373 <!-- Summary Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
374 <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
375 <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
376 <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
377 </section>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
378
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
379 <!-- Advanced Options -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
380 <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
381 <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
382 <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
383 <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
384 <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
385 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
386 <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
387 <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
388 <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
389 <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
390 <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
391 <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
392 <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
393 <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
394 <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
395 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
396 <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
397 <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
398 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
399 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
400
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
401 <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
402 <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
403 <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
404 <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
405 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
406 <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
407 <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
408 <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
409 <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
410 <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
411 <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
412 <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
413 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
414 <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
415 <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
416 <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
417 <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
418 <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
419 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
420 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
421
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
422 <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
423 <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
424 <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
425 <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
426 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
427 <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
428 <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
429 <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
430 <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
431 <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
432 <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
433 <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
434 <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
435 <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
436 <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
437 <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
438 <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
439 <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
440 <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
441 <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
442 <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
443 <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
444 <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
445 <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
446 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
447 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
448 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
449
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
450 <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
451 <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
452 <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
453 <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
454 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
455 <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
456 <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
457 <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
458 <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
459 <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
460 <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
461 <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
462 <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
463 <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
464 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
465 <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
466 <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
467 <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
468 <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
469 <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
470 <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
471 <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
472 </param>
15
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="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
474 <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
475 <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
476 <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
477 <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
478 <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
479 <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
480 <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
481 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
482 <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
483 <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
484 <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
485 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
486 <when value="" />
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
487 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
488 <param name="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
489 <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
490 <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
491 <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
492 <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
493 <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
494 </param>
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="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
496 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
497 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
498
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
499 <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
500 <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
501 <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
502 <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
503 </param>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
504 <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
505 <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
506 <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
507 <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
508 <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
509 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
510 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
511
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
512 <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
513 <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
514 <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
515 <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
516 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
517 <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
518 <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
519 <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
520 <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
521 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
522 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
523
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
524 <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
525 <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
526 <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
527 <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
528 </param>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
529 <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
530 <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
531 <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
532 <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
533 </when>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
534 </conditional>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
535 </section>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
536
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
537 </inputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
538
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
539 <!-- Define outputs -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
540
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
541 <outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
542
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
543 <!-- BAM -->
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
544 <data name="output_alignments" format="bam" label="${tool.name} on ${on_string}: aligned reads (BAM)">
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
545 <expand macro="dbKeyActions" />
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
546 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
547
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
548 <!-- 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
549 <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
550 <filter>adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['unaligned_file'] is True</filter>
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
551 <expand macro="dbKeyActions" />
3
b1e25f9b5eab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 9a9d44116b21d9a155b5cc274475e78c14915059
iuc
parents: 2
diff changeset
552 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
553
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
554 <!-- Aligned fastq (L) -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
555 <data name="output_aligned_reads_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
556 <filter>adv['output_options']['output_options_selector'] == "advanced" and adv['output_options']['aligned_file'] is True</filter>
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
557 <expand macro="dbKeyActions" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
558 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
559
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
560 <!-- 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
561 <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
562 <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>
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
563 <expand macro="dbKeyActions" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
564 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
565
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
566 <!-- 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
567 <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
568 <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>
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
569 <expand macro="dbKeyActions" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
570 </data>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
571
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
572 <!-- 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
573 <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
574 <filter>sum['summary_file'] is True</filter>
20
6ab42baa56e9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit d9ebd463afa1a41799aa53e9a68d0ea51093007e
iuc
parents: 19
diff changeset
575 <expand macro="dbKeyActions" />
7
5ba8e317529a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5c49c4049418cdca86f40df5a5d8014c2d932dde
iuc
parents: 6
diff changeset
576 </data>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
577
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
578 </outputs>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
579
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
580 <!-- Define tests -->
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
581
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
582 <tests>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
583 <!-- 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
584 <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
585 <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
586 <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
587 <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
588 <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
589 <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
590 <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
591 </test>
18
764756ab0eb5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 4b78174c0753e9f916bf6625490c0ce605979940
iuc
parents: 17
diff changeset
592 <!-- 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
593 <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
594 <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
595 <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
596 <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
597 <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
598 <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
599 <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
600 <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
601 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
602 <!-- 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
603 <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
604 <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
605 <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
606 <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
607 <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
608 <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
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 trimming 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" />
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
620 <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
621 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
622 <!-- 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
623 <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
624 <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
625 <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
626 <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
627 <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
628 <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
629 <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
630 <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
631 <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
632 <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
633 <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
634 <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
635 <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
636 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
637 <!-- 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
638 <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
639 <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
640 <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
641 <param name="history_item" ftype="fasta" value="phiX.fa" />
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
642 <param name="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
643 <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
644 <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
645 <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
646 <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
647 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
648 <!-- 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
649 <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
650 <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
651 <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
652 <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
653 <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
654 <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
655 <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
656 <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
657 <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
658 <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
659 <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
660 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
661 <!-- 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
662 <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
663 <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
664 <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
665 <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
666 <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
667 <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
668 <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
669 <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
670 <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
671 <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
672 <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
673 <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
674 <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
675 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
676 <!-- 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
677 <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
678 <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
679 <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
680 <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
681 <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
682 <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
683 <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
684 <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
685 <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
686 <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
687 <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
688 <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
689 <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
690 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
691 <!-- 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
692 <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
693 <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
694 <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
695 <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
696 <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
697 <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
698 <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
699 <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
700 </test>
16
21e8ea8e1adb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 128187381a04bed621baaee05d1b0dd55d8bd632
iuc
parents: 15
diff changeset
701 <!-- 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
702 <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
703 <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
704 <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
705 <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
706 <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
707 <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
708 <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
709 <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
710 <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
711 </test>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
712 </tests>
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
713
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
714 <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
715 Introduction
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
716 ============
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
717
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
718 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
719 --------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
720
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
721 `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
722 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
723 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
724 (`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
725 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
726 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
727 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
728 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
729 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
730 ~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
731 ~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
732 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
733 `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
734 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
735 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
736 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
737 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
738 `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
739 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
740 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
741 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
742 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
743 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
744 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
745 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
746 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
747 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
748 `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
749 `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
750 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
751 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
752 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
753
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
754 Running HISAT
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
755 =============
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 Reporting
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 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
761 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
762
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
763 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
764 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
765 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
766 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
767 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
768
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
769 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
770 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 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
773 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
774 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
775 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
776 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
777 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
778 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
779 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
780 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
781 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
782 alignments.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
783
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
784 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
785 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
786 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
787
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
788 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
789 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 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
792 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
793 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
794 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
795 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
796 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
797 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
798 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
799 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
800 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
801 for details.
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
802
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
803 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
804 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
805 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
806 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
807 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
808 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
809
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
810 Alignment summmary
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
811 ------------------
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
812
15
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
813 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
814 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
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
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
818 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
819 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
820 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
821 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
822 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
823 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
824
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
825 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
826
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
827 ::
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
828
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
829 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
830 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
831 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
832 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
833 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
834 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
835 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
836 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
837 ----
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
838 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
839 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
840 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
841 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
842 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
843 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
844
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
845 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
846
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 .. class:: infomark
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 **HISAT2 options**
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
851
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
852 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
853
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
854 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
855
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
856 **Inputs**
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
857
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
858 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
859
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
860 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
861
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
862 ------
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 **Input options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
865
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
866 -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
867 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
868
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
869 -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
870 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
871 `-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
872
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
873 -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
874 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
875
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
876 -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
877 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
878
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
879 --phred33
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
880 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
881 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
882 pipelines.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
883
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
884 --phred64
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
885 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
886 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
887
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
888 --solexa-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
889 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
890 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
891 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
892
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
893 --int-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
894 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
895 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
896 `--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
897
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
898 ------
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
899
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
900 **Alignment options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
901
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
902 --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
903 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
904 `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
905 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
906 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
907 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
908
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
909 --ignore-quals
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
910 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
911 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
912 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
913 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
914 `-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
915
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
916 --nofw/--norc
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
917 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
918 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
919 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
920 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
921 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
922 (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
923
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
924 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
925
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
926 **Scoring options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
927
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
928 --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
929 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
930 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
931 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
932 `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
933 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
934 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
935
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
936 --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
937 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
938
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
939 --no-softclip
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
940 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
941
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
942 --np <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
943 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
944 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
945
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
946 --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
947 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
948 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
949
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
950 --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
951 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
952 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
953 5, 3.
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
954
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
955 --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
956 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
957 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
958 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
959 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
960
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
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
963 **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
964
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
965 --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
966 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
967
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
968 --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
969 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
970
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
971 --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
972 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
973
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
974 --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
975 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
976
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
977 --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
978 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
979
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
980 --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
981 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
982
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
983 --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
984 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
985
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
986 -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
987 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
988
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
989 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
990
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
991 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
992
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
993 -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
994 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
995
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
996 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
997
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
998 Default: 500.
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 --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
1001 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
1002
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1003 --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
1004 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
1005
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1006 --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
1007 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
1008
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1009 --dta-cufflinks
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1010 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
1011
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1012 --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
1013 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
1014
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1015 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1016
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1017 **Reporting options**::
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 -k <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1020 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
1021
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1022 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
1023
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1024 -max-seeds
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1025 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
1026
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1027 --secondary
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1028 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
1029
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1030 -----
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1031
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1032 **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
1033
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1034 --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
1035 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
1036 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
1037 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
1038 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
1039 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
1040 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
1041 `--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
1042 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
1043 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
1044 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
1045
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1046 --no-mixed
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1047 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
1048 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
1049 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
1050
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1051 --no-discordant
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1052 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
1053 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
1054 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
1055 (`--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
1056
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1057
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1058 **Output options**::
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 --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
1061 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
1062
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1063 --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
1064 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
1065
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1066 --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
1067 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
1068
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1069 --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
1070 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
1071
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1072
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1073 **Other options**::
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1074
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1075 --seed <int>
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1076 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
1077
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1078 --non-deterministic
d5fe9aead222 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 48012d1879395ecf1b4e6cd962f325c372164a33
iuc
parents: 14
diff changeset
1079 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
1080
14
526b91fbde60 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hisat2 commit 5d57e4f6fdaed9e042c334fbe76f3f41ceb4fbc2
iuc
parents: 13
diff changeset
1081 ]]></help>
0
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1082 <citations>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1083 <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
1084 </citations>
5bafe7d7a55e planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/hisat2 commit 1e8d3feeb391aabcfff2338b57913138deea51ec-dirty
iuc
parents:
diff changeset
1085 </tool>