annotate coverm_genome.xml @ 0:134e4e78e754 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
author iuc
date Tue, 26 Apr 2022 15:27:01 +0000
parents
children a671907f96fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
1 <tool id="coverm_genome" name="CoverM-GENOME" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
2 <description>read coverage and relative abundance calculator focused on metagenomics applications</description>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
3 <macros>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
5 </macros>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
7 <command><![CDATA[
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
8 #if $reads.read_type == "single" or $reads.read_type == "interleaved"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
9 mkdir -p reads1 &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
10 #set file_paths1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
11 #for $input_file in $reads.single
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
12
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
13 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
14 #set $file_path = 'reads1/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
15 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
16 $file_paths1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
17 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
18 #else if $reads.read_type == "bam"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
19 mkdir -p bam &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
20 #set bam_files = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
21 #for $input_file in $reads.bam
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
22
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
23 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
24 #set $file_path = 'bam/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
25 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
26 $bam_files.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
27 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
28 #else if $reads.read_type == "paired"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
29 mkdir -p paired_reads1 &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
30 #set fw_reads1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
31 #for $input_file in $reads.read1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
32
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
33 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
34 #set $file_path = 'paired_reads1/' + str($fname)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
35 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
36 $fw_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
37 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
38 #set rv_reads1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
39 #for $input_file in $reads.read2
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
40
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
41 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
42 #set $file_path = 'paired_reads1/' + str($fname)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
43 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
44 $rv_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
45 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
46 #silent $fw_reads1.sort()
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
47 #silent $rv_reads1.sort()
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
48 #else
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
49 mkdir -p paired_reads &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
50 #set paired_reads1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
51 #for $i, $input_file in enumerate($reads.paired_reads)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
52 #set $file_path = 'paired_reads/fw' + str($i)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
53 ln -s '$input_file.forward' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
54 $paired_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
55 #set $file_path = 'paired_reads/rv' + str($i)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
56 ln -s '$input_file.reverse' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
57 $paired_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
58 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
59 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
60 #if $add_reads.extra_read.read_type == "single" or $add_reads.extra_read.read_type == "interleaved"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
61 mkdir -p add_reads1 &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
62 #set add_file_paths1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
63 #for $input_file in $add_reads.extra_read.single
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
64 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
65 #set $file_path = 'add_reads1/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
66 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
67 $add_file_paths1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
68 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
69 #else if $add_reads.extra_read.read_type == "bam"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
70 mkdir -p add_bam &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
71 #set add_bam_files = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
72 #for $input_file in $reads.bam
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
73 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
74 #set $file_path = 'add_bam/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
75 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
76 $add_bam_files.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
77 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
78 #else if $add_reads.extra_read.read_type == "paired"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
79 mkdir -p add_paired_reads1 &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
80 #set add_fw_reads1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
81 #for $input_file in $add_reads.extra_read.read1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
82 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
83 #set $file_path = 'add_paired_reads1/' + str($fname)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
84 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
85 $add_fw_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
86 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
87 #set add_rv_reads1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
88 #for $input_file in $add_reads.extra_read.read2
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
89 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
90 #set $file_path = 'add_paired_reads1/' + str($fname)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
91 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
92 $add_rv_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
93 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
94 #silent $add_fw_reads1.sort()
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
95 #silent $add_rv_reads1.sort()
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
96 #else if $add_reads.extra_read.read_type == "paired_collection"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
97 mkdir -p add_paired_reads &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
98 #set add_paired_reads1 = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
99 #for $i, $input_file in enumerate($add_reads.extra_read.paired_reads)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
100 #set $ext = $input_file.forward.ext
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
101 #set $file_path = 'add_paired_reads/fw' + str($i) + '.' + $ext
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
102 ln -s '$input_file.forward' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
103 $add_paired_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
104 #set $file_path = 'add_paired_reads/rv' + str($i) + '.' + $ext
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
105 ln -s '$input_file.reverse' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
106 $add_paired_reads1.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
107 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
108 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
109 #if $reads.genome.ref_or_genome == "genomic"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
110 mkdir -p genomes &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
111 #set genome_files = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
112 #if $reads.genome.genomic.source == "history"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
113 #for $input_file in $reads.genome.genomic.fasta_history
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
114
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
115 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
116 #set $file_path = 'genomes/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
117 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
118 $genome_files.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
119 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
120 #else
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
121 #for $input_file in $reads.genome.genomic.fasta_builtin
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
122 #set $ext = $input_file.fields.path.ext
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
123 #set $fname = $input_file.fields.path.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
124 #set $file_path = 'genomes/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
125 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
126 $genome_files.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
127 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
128 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
129 #else if $reads.genome.ref_or_genome != "none"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
130 mkdir -p reference &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
131 #set ref_files = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
132 #for $input_file in $reads.genome.ref_source
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
133 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
134 #set $file_path = 'reference/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
135 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
136 $ref_files.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
137 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
138 #if $reads.genome.add_genome.add_genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
139 mkdir -p genomes &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
140 #set genome_files = []
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
141 #if $reads.genome.add_genome.add_genomic == "history"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
142 #for $input_file in $reads.genome.add_genome.add_genomic.fasta_history
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
143 #set $fname = $input_file.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
144 #set $file_path = 'genomes/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
145 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
146 $genome_files.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
147 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
148 #else
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
149 #for $input_file in $reads.genome.add_genome.add_genomic.fasta_builtin
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
150 #set $ext = $input_file.fields.path.ext
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
151 #set $fname = $input_file.fields.path.element_identifier.replace(" ","_")
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
152 #set $file_path = 'genomes/' + $fname
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
153 ln -s '$input_file' '$file_path' &&
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
154 $genome_files.append($file_path)
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
155 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
156 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
157 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
158 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
159
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
160 coverm genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
161 #if $reads.read_type == 'paired'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
162 -1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
163 #for $read in $fw_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
164 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
165 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
166 -2
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
167 #for $read in $rv_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
168 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
169 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
170 #else if $reads.read_type == 'paired_collection'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
171 --coupled
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
172 #for $read in $paired_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
173 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
174 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
175 #else if $reads.read_type == 'single'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
176 --single
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
177 #for $read in $file_paths1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
178 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
179 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
180 #else if $reads.read_type == 'interleaved'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
181 --interleaved
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
182 #for $read in $file_paths1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
183 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
184 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
185 #else if $reads.read_type == 'bam'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
186 -b
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
187 #for $read in $bam_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
188 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
189 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
190 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
191
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
192 #if $add_reads.extra_read.read_type == 'paired'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
193 -1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
194 #for $read in $add_fw_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
195 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
196 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
197 -2
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
198 #for $read in $add_rv_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
199 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
200 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
201 #else if $add_reads.extra_read.read_type == 'paired_collection'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
202 --coupled
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
203 #for $read in $add_paired_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
204 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
205 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
206 #else if $add_reads.extra_read.read_type == 'single'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
207 --single
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
208 #for $read in $add_file_paths1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
209 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
210 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
211 #else if $add_reads.extra_read.read_type == 'interleaved'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
212 --interleaved
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
213 #for $read in $add_file_paths1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
214 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
215 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
216 #else if $add_reads.extra_read.read_type == 'bam'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
217 #for $read in $add_bam_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
218 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
219 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
220 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
221
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
222
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
223 #if $reads.genome.ref_or_genome == "genomic":
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
224 -f
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
225 #for $genome in $genome_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
226 '${genome}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
227 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
228 #else if $reads.genome.ref_or_genome != "none" and $reads.genome.ref_or_genome != "genomic":
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
229 --reference
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
230 #for $reference in $ref_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
231 '${reference}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
232 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
233 #if $reads.genome.cond_single_genome.single_genome != "false"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
234 $reads.genome.cond_single_genome.single_genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
235 #if $reads.genome.cond_single_genome.genome_definition
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
236 --genome-definition $reads.genome.cond_single_genome.genome_definition
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
237 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
238 #else
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
239 #if $reads.genome.cond_single_genome.separator
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
240 -s "$reads.genome.cond_single_genome.separator"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
241 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
242 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
243 #if $reads.genome.add_genome.add_genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
244 -f
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
245 #for $genome in $genome_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
246 '${genome}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
247 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
248 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
249 #else if $reads.genome.ref_or_genome == "none":
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
250 #if $reads.genome.separator:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
251 -s "$reads.genome.separator"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
252 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
253 $reads.genome.single_genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
254 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
255
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
256 $derep.dereplicate
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
257 #if $derep.checkm_tab_table:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
258 --chekm-tab-table $derep.checkm_tab_table
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
259 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
260 #if $derep.genome_info:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
261 --genome-info $derep.genome_info
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
262 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
263 #if $derep.min_completeness:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
264 --min-completeness $derep.min_completeness
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
265 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
266 #if $derep.max_contamination:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
267 --max-contamination $derep.max_contamination
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
268 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
269 #if $derep.dereplication_ani:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
270 --dereplication-ani $derep.dereplication_ani
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
271 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
272 #if $derep.dereplication_aligned_fraction:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
273 --dereplication-aligned-fraction $derep.dereplication_aligned_fraction
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
274 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
275 #if $derep.dereplication_fragment_length:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
276 --dereplication-fragment-length $derep.dereplication_fragment_length
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
277 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
278 #if $derep.dereplication_prethreshold_ani:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
279 --dereplication-prethreshold-ani $derep.dereplication_prethreshold_ani
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
280 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
281 #if $derep.dereplication_quality_formula:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
282 --dereplication-quality-formula $derep.dereplication_quality_formula
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
283 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
284 #if $derep.dereplication_precluster_method:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
285 --dereplication-precluster-method $derep.dereplication_precluster_method
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
286 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
287
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
288 $shar.sharded
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
289 $shar.exclude_genomes_from_deshard
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
290
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
291 #if $mapping.mapper:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
292 --mapper $mapping.mapper
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
293 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
294 #if $mapping.min_read_aligned_length:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
295 --min-read-aligned-length $mapping.min_read_aligned_length
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
296 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
297 #if $mapping.min_read_percent_identity:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
298 --min-read-percent-identity $mapping.min_read_percent_identity
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
299 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
300 #if $mapping.min_read_aligned_percent:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
301 --min-read-aligned-percent $mapping.min_read_aligned_percent
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
302 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
303 #if $mapping.min_read_aligned_length_pair:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
304 --min-read-aligned-length-pair $mapping.min_read_aligned_length_pair
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
305 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
306 #if $mapping.min_read_percent_identity_pair:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
307 --min-read-percent-identity-pair $mapping.min_read_percent_identity_pair
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
308 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
309 #if $mapping.min_read_aligned_percent_pair:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
310 --min-read-aligned-percent-pair $mapping.min_read_aligned_percent_pair
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
311 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
312 $mapping.proper_pairs_only
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
313 $mapping.exclude_supplementary
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
314
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
315 --methods $cov.relative_abundance $cov.mean $cov.cond_methods.trimmed_mean $cov.covered_bases $cov.covered_fraction
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
316 $cov.variance $cov.length $cov.count $cov.metabat $cov.coverage_histogram $cov.reads_per_base
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
317 $cov.rpkm $cov.tpm
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
318 #if $cov.min_covered_fraction:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
319 --min-covered-fraction $cov.min_covered_fraction
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
320 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
321 #if $cov.contig_end_exclusion:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
322 --contig-end-exclusion $cov.contig_end_exclusion
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
323 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
324 #if $cov.cond_methods.trimmed_mean
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
325 #if $cov.cond_methods.trim_min:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
326 --trim-min $cov.cond_methods.trim_min
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
327 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
328 #if $cov.cond_methods.trim_max:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
329 --trim_max $cov.cond_methods.trim_max
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
330 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
331 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
332
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
333 #if $out.output_format:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
334 --output-format $out.output_format
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
335 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
336 #if $out.dereplication_output_cluster_definition:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
337 --dereplication-output-cluster-definition
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
338 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
339 #if $out.dereplication_output_representative_fasta_directory_copy:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
340 --dereplication-output-representative-fasta-directory-copy .
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
341 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
342 $out.no_zeros
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
343 --output-file output.tsv
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
344 --threads \${GALAXY_SLOTS:-1}
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
345 2> stdout.txt
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
346 ]]></command>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
347 <inputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
348 <expand macro="reads" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
349 <expand macro="add_reads" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
350 <section name="derep" title="Dereplication options" expanded="false">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
351 <param argument="--dereplicate" type="boolean" truevalue="--dereplicate" falsevalue="" optional="true"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
352 label="Do genome dereplication via average nucleotide identity (ANI)"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
353 help="Choose a genome to represent all within a small distance, using Dashing for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
354 preclustering and FastANI for final ANI calculation. When this flag is used,
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
355 dereplication occurs transparently through the Galah method."/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
356 <param argument="--checkm-tab-table" type="data" format="tsv" optional="true"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
357 label="Use checkM table" help="It is used for defining genome quality, which is used both for filtering
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
358 and to rank genomes during clustering"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
359 <param argument="--genome-info" type="data" format="csv" optional="true"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
360 label="Define quality in dRep style" help="dRep stype genome info table for defining quality" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
361 <param argument="--min-completeness" type="float" optional="true" min="0" max="100"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
362 label="Min completeness" help="Ignore genomes with less completeness than this percentage" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
363 <param argument="--max-contamination" type="float" optional="true" min="0" max="100"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
364 label="Max contamination" help="Ignore genomes with more contamination than this percentage" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
365 <param argument="--dereplication-ani" type="float" optional="true" min="0" max="100" value="99"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
366 label="Overall ANI level" help="Overall ANI level to dereplicate at with FastANI. Default: 99" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
367 <param argument="--dereplication-aligned-fraction" type="float" optional="true" min="0" value="50"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
368 label="Dereplication aligned fraction" help="Min aligned fraction of two genomes for clustering. Default: 50" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
369 <param argument="--dereplication-fragment-length" type="integer" optional="true" min="0" value="3000"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
370 label="Length of fragment used in FastANI calculation (i.e. --fragLen). Default: 3000" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
371 <param argument="--dereplication-prethreshold-ani" type="float" optional="true" min="0" max="100" value="95"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
372 label="Dereplication preclustering threshold" help="Require at least this dashing-derived ANI for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
373 preclustering and to avoid FastANI on distant lineages within preclusters. Default: 95" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
374 <param type="select" argument="--dereplication-quality-formula" label="Scoring function for genome quality" help="Default: Parks2020_reduced">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
375 <option value="Parks2020_reduced">Parks2020_reduced (default)</option>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
376 <option value="completeness-4contamination">completeness-4contamination</option>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
377 <option value="completeness-5contamination">completeness-5contamination</option>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
378 <option value="dRep">dRep</option>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
379 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
380 <param type="select" argument="--dereplication-precluster-method" label="Dereplication precluster method" help="Method of calculating rough ANI for dereplication. Default: dashing">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
381 <option value="dashing">HyperLogLog</option>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
382 <option value="finch">finch MinHash</option>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
383 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
384 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
385 <section name="shar" title="Sharding options" expanded="false">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
386 <param argument="--sharded" type="boolean" optional="true" truevalue="--sharded" falsevalue="" label="Shared" help="If -b/--bam-files was used: Input BAM files are read-sorted alignments of a set of reads mapped to multiple reference contig sets. Choose the best hit for each read pair. Otherwise if mapping was carried out: Map reads to each reference, choosing the best hit for each pair." />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
387 <param argument="--exclude-genomes-from-deshard" type="boolean" optional="true"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
388 truevalue="--exclude-genomes-from-deshard" falsevalue="" label="Exclude genomes from deshard"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
389 help="Ignore genomes whose name appears in this newline-separated file when combining shards." />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
390 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
391 <expand macro="mapping"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
392 <expand macro="coverage"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
393 <expand macro="out"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
394 </inputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
395 <outputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
396 <data name="output1" format="tsv" from_work_dir="./output.tsv"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
397 <data name="cluster-definition" format="tsv">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
398 <filter>out['dereplication_output_cluster_definition']</filter>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
399 </data>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
400 </outputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
401 <tests>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
402 <test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
403 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
404 <param name="read_type" value="paired_collection"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
405 <param name="paired_reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
406 <collection type="list:paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
407 <element name="reads_for_seq1_and_seq2..fq">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
408 <collection type="paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
409 <element name="forward" value="reads_for_seq1_and_seq2.1.fq.gz"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
410 <element name="reverse" value="reads_for_seq1_and_seq2.2.fq.gz"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
411 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
412 </element>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
413 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
414 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
415 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
416 <param name="ref_or_genome" value="reference"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
417 <param name="ref_source" value="7seqs.fna"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
418 <conditional name="cond_single_genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
419 <param name="single_genome" value="false"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
420 <param name="separator" value="~"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
421 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
422 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
423 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
424 <section name="add_reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
425 <conditional name="extra_read">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
426 <param name="read_type" value="single"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
427 <param name="single" value="reads_for_seq1_and_seq2.fna"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
428 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
429 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
430 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
431 <param name="mean" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
432 <param name="relative_abundance" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
433 <param name="variance" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
434 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
435 <section name="out">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
436 <param name="output_format" value="sparse"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
437 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
438 <output name="output1" file="test1.tsv" ftype="tsv"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
439 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
440 <test expect_num_outputs="1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
441 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
442 <param name="read_type" value="bam"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
443 <param name="bam" value="7seqs.reads_for_seq1_and_seq2.bam"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
444 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
445 <param name="ref_or_genome" value="none"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
446 <param name="separator" value="~"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
447 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
448 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
449 <section name="shar">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
450 <param name="sharded" value="false"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
451 <param name="exclude_genoms_from_deshard" value="false"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
452 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
453 <section name="mapping">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
454 <param name="mapper" value="minimap2-sr"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
455 <param name="minimap2_reference_is_index" value="false"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
456 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
457 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
458 <param name="mean" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
459 <param name="relative_abundance" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
460 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
461 <section name="out">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
462 <param name="output_format" value="sparse"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
463 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
464 <output name="output1" file="test2.tsv" ftype="tsv"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
465 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
466 <test expect_num_outputs="1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
467 <section name="derep">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
468 <param name="dereplicate" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
469 <param name="genome_info" value="genomeInfo.csv"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
470 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
471 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
472 <param name="covered_fraction" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
473 <param name="min_covered_fraction" value="0"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
474 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
475 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
476 <param name="read_type" value="single"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
477 <param name="single" value="1read.actually_fasta.fq"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
478 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
479 <param name="ref_or_genome" value="genomic"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
480 <conditional name="genomic">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
481 <param name="source" value="history"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
482 <param name="fasta_history" value="500kb.fna,1mbp.fna"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
483 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
484 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
485 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
486 <output name="output1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
487 <assert_contents>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
488 <has_n_lines n="2"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
489 </assert_contents>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
490 </output>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
491 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
492 <test expect_num_outputs="1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
493 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
494 <param name="read_type" value="paired_collection"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
495 <param name="paired_reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
496 <collection type="list:paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
497 <element name="reads_for_genome2">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
498 <collection type="paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
499 <element name="forward" value="reads_for_genome2.1.fa"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
500 <element name="reverse" value="reads_for_genome2.2.fa"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
501 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
502 </element>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
503 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
504 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
505 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
506 <param name="ref_or_genome" value="genomic"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
507 <conditional name="genomic">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
508 <param name="source" value="history"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
509 <param name="fasta_history" value="genome1.fna,genome2.fna,genome3.fna"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
510 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
511 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
512 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
513 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
514 <param name="mean" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
515 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
516 <output name="output1" file="test3.tsv" ftype="tsv"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
517 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
518 <test expect_num_outputs="1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
519 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
520 <param name="read_type" value="bam"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
521 <param name="bam" value="2seqs.bad_read.1.with_supplementary.bam"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
522 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
523 <param name="ref_or_genome" value="none"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
524 <param name="single_genome" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
525 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
526 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
527 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
528 <param name="count" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
529 <param name="min_covered_fraction" value="0"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
530 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
531 <output name="output1" file="test5.tsv" ftype="tsv"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
532 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
533 </tests>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
534 <help><![CDATA[
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
535 .. class:: infomark
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
536
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
537 **Dereplication quality formula**
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
538
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
539 Scoring function for genome quality:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
540
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
541 - Parks2020_reduced: A quality formula described in `Parks et. al. 2020 <https://doi.org/10.1038/s41587-020-0501-8>`_ (Supplementary Table 19) but only including those scoring criteria that can be calculated from the sequence without homology searching: *completeness-5*contamination-5*num_contigs/100-5*num_ambiguous_bases/100000*.
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
542 - completeness-4contamination: *completeness-4*contamination*
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
543 - completeness-5contamination: *completeness-5*contamination*
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
544 - dRep: *completeness-5*contamination+contamination*(strain_heterogeneity/100)+0.5*log10(N50)*
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
545
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
546 -----
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
547
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
548 .. class:: infomark
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
549
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
550 **Method for calculating coverage**
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
551
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
552 Calculation of genome-wise coverage (genome mode) is similar to calculating contig-wise (contig mode) coverage, except that the unit of reporting is per-genome rather than per-contig. For calculation methods which exclude base positions based on their coverage, all positions from all contigs are considered together.
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
553
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
554 - Relative abundance: Percentage relative abundance of each genome, and the unmapped read percentage
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
555 - Mean: Average number of aligned reads overlapping each position on the genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
556 - Trimmed mean: Average number of aligned reads overlapping each position after removing the most deeply and shallowly covered positions.
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
557 - Covered fraction: Fraction of genome covered by 1 or more reads
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
558 - Covered bases: Number of bases covered by 1 or more reads
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
559 - Variance: Variance of coverage depths
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
560 - Length: Length of each genome in base pairs
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
561 - Count: Number of reads aligned toq each genome. Note that a single read may be aligned to multiple genomes with supplementary alignments
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
562 - Reads per base: Number of reads aligned divided by the length of the genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
563 - MetaBAT: Reproduction of the `MetaBAT <https://bitbucket.org/berkeleylab/metabat>`_ tool output
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
564 - Coverage histogram: Histogram of coverage depths
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
565 - RPKM: Reads mapped per kilobase of genome, per million mapped reads
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
566 - TPM: Transcripts Per Million as described in `Li et al 2010 <https://doi.org/10.1093/bioinformatics/btp692>`_
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
567
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
568 ]]></help>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
569 <expand macro="citation"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
570 </tool>