annotate coverm_genome.xml @ 2:5bf5792b0996 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 877d09f04bae57678daa94766fd31d0d0f1b6a37
author iuc
date Tue, 28 Mar 2023 08:36:25 +0000
parents a671907f96fe
children bb3f59096c8e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
1 <tool id="coverm_genome" name="CoverM genome" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
2 <description>Calculate coverage of individual genomes</description>
0
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
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
138 #if $reads.genome.add_genome.add_genome == "true"
0
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
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
159
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
160 mkdir ./representative-fasta/ &&
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
161 coverm genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
162 #if $reads.read_type == 'paired'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
163 -1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
164 #for $read in $fw_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
165 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
166 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
167 -2
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
168 #for $read in $rv_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
169 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
170 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
171 #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
172 --coupled
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
173 #for $read in $paired_reads1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
174 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
175 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
176 #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
177 --single
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
178 #for $read in $file_paths1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
179 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
180 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
181 #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
182 --interleaved
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
183 #for $read in $file_paths1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
184 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
185 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
186 #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
187 -b
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
188 #for $read in $bam_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
189 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
190 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
191 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
192
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
193 #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
194 -1
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
195 #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
196 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
197 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
198 -2
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
199 #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
200 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
201 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
202 #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
203 --coupled
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
204 #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
205 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
206 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
207 #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
208 --single
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
209 #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
210 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
211 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
212 #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
213 --interleaved
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
214 #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
215 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
216 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
217 #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
218 #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
219 '${read}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
220 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
221 #end if
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
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
224 #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
225 -f
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
226 #for $genome in $genome_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
227 '${genome}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
228 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
229 #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
230 --reference
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
231 #for $reference in $ref_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
232 '${reference}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
233 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
234 #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
235 $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
236 #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
237 --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
238 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
239 #else
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
240 #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
241 -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
242 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
243 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
244 #if $reads.genome.add_genome.add_genome == "true"
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
245 -f
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
246 #for $genome in $genome_files
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
247 '${genome}'
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
248 #end for
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
249 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
250 #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
251 #if $reads.genome.separator:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
252 -s "$reads.genome.separator"
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
253 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
254 $reads.genome.single_genome
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
255 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
256
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
257 $derep.dereplicate
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
258 #if $derep.checkm_tab_table:
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
259 --chekm-tab-table '$derep.checkm_tab_table'
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
260 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
261 #if $derep.genome_info:
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
262 --genome-info '$derep.genome_info'
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
263 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
264 #if $derep.min_completeness != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
265 --min-completeness $derep.min_completeness
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
266 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
267 #if $derep.max_contamination != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
268 --max-contamination $derep.max_contamination
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
269 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
270 #if $derep.dereplication_ani != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
271 --dereplication-ani $derep.dereplication_ani
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
272 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
273 #if $derep.dereplication_aligned_fraction != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
274 --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
275 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
276 #if $derep.dereplication_fragment_length != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
277 --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
278 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
279 #if $derep.dereplication_prethreshold_ani != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
280 --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
281 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
282 #if $derep.dereplication_quality_formula:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
283 --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
284 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
285 #if $derep.dereplication_precluster_method:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
286 --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
287 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
288
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
289 $shar.sharded
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
290 $shar.exclude_genomes_from_deshard
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
291
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
292 #if $mapping.mapper:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
293 --mapper $mapping.mapper
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
294 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
295 #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
296 --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
297 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
298 #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
299 --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
300 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
301 #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
302 --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
303 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
304 #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
305 --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
306 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
307 #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
308 --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
309 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
310 #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
311 --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
312 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
313 $mapping.proper_pairs_only
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
314 $mapping.exclude_supplementary
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
315
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
316 --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
317 $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
318 $cov.rpkm $cov.tpm
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
319 #if $cov.min_covered_fraction != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
320 --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
321 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
322 #if $cov.contig_end_exclusion != "":
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
323 --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
324 #end if
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
325 #if $cov.cond_methods.trimmed_mean == "trimmed_mean"
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
326 #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
327 --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
328 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
329 #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
330 --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
331 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
332 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
333
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
334 #if $out.output_format:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
335 --output-format $out.output_format
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
336 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
337 #if $out.dereplication_output_cluster_definition:
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
338 --dereplication-output-cluster-definition '$cluster_definition'
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
339 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
340 #if $out.dereplication_output_representative_fasta_directory_copy:
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
341 --dereplication-output-representative-fasta-directory-copy ./representative-fasta/
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
342 #end if
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
343 $out.no_zeros
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
344 --output-file output.tsv
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
345 --threads \${GALAXY_SLOTS:-1}
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
346
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
347 #if $derep.dereplicate and $out.dereplication_output_cluster_definition
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
348 && sed -i -e 's@genomes/@@g; s/\.fna//g' '$cluster_definition'
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
349 #end if
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
350 ]]></command>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
351 <inputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
352 <expand macro="reads" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
353 <expand macro="add_reads" />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
354 <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
355 <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
356 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
357 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
358 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
359 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
360 <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
361 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
362 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
363 <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
364 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
365 <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
366 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
367 <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
368 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
369 <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
370 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
371 <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
372 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
373 <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
374 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
375 <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
376 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
377 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
378 <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
379 <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
380 <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
381 <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
382 <option value="dRep">dRep</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 <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
385 <option value="dashing">HyperLogLog</option>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
386 <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
387 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
388 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
389 <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
390 <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
391 <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
392 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
393 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
394 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
395 <expand macro="mapping"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
396 <expand macro="coverage"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
397 <expand macro="out"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
398 </inputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
399 <outputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
400 <data name="output1" format="tsv" from_work_dir="./output.tsv"/>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
401 <data name="cluster_definition" format="tsv" label="${tool.name} on ${on_string}: cluster definition">
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
402 <filter>derep['dereplicate'] and out['dereplication_output_cluster_definition']</filter>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
403 </data>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
404 <collection name="representative_fasta" type="list" label="${tool.name} on ${on_string}: representative fasta">
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
405 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.fna" format="fasta" directory="representative-fasta" />
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
406 <filter>derep['dereplicate'] and out['dereplication_output_representative_fasta_directory_copy']</filter>
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
407 </collection>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
408 </outputs>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
409 <tests>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
410 <test expect_num_outputs="1">
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
411 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
412 <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
413 <param name="paired_reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
414 <collection type="list:paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
415 <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
416 <collection type="paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
417 <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
418 <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
419 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
420 </element>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
421 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
422 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
423 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
424 <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
425 <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
426 <conditional name="cond_single_genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
427 <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
428 <param name="separator" value="~"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
429 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
430 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
431 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
432 <section name="add_reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
433 <conditional name="extra_read">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
434 <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
435 <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
436 </conditional>
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 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
439 <param name="mean" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
440 <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
441 <param name="variance" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
442 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
443 <section name="out">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
444 <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
445 </section>
2
5bf5792b0996 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 877d09f04bae57678daa94766fd31d0d0f1b6a37
iuc
parents: 1
diff changeset
446 <output name="output1" file="test1.tsv" ftype="tsv" sort="true"/>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
447 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
448 <test expect_num_outputs="1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
449 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
450 <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
451 <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
452 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
453 <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
454 <param name="separator" value="~"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
455 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
456 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
457 <section name="shar">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
458 <param name="sharded" value="false"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
459 <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
460 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
461 <section name="mapping">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
462 <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
463 <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
464 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
465 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
466 <param name="mean" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
467 <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
468 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
469 <section name="out">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
470 <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
471 </section>
2
5bf5792b0996 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 877d09f04bae57678daa94766fd31d0d0f1b6a37
iuc
parents: 1
diff changeset
472 <output name="output1" file="test2.tsv" ftype="tsv" sort="true"/>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
473 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
474 <test expect_num_outputs="1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
475 <section name="derep">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
476 <param name="dereplicate" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
477 <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
478 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
479 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
480 <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
481 <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
482 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
483 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
484 <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
485 <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
486 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
487 <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
488 <conditional name="genomic">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
489 <param name="source" value="history"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
490 <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
491 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
492 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
493 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
494 <output name="output1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
495 <assert_contents>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
496 <has_n_lines n="2"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
497 </assert_contents>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
498 </output>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
499 </test>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
500 <test expect_num_outputs="3">
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
501 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
502 <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
503 <param name="paired_reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
504 <collection type="list:paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
505 <element name="reads_for_genome2">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
506 <collection type="paired">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
507 <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
508 <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
509 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
510 </element>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
511 </collection>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
512 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
513 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
514 <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
515 <conditional name="genomic">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
516 <param name="source" value="history"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
517 <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
518 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
519 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
520 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
521 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
522 <param name="mean" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
523 </section>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
524 <section name="derep">
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
525 <param name="dereplicate" value="true"/>
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
526 </section>
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
527 <section name="out">
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
528 <param name="dereplication_output_cluster_definition" value="true"/>
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
529 <param name="dereplication_output_representative_fasta_directory_copy" value="true"/>
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
530 </section>
2
5bf5792b0996 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 877d09f04bae57678daa94766fd31d0d0f1b6a37
iuc
parents: 1
diff changeset
531 <output name="output1" file="test3.tsv" ftype="tsv" sort="true"/>
5bf5792b0996 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 877d09f04bae57678daa94766fd31d0d0f1b6a37
iuc
parents: 1
diff changeset
532 <output name="cluster_definition" ftype="tsv" value="test4_cluster.tsv" sort="true"/>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
533 <output_collection name="representative_fasta" type="list" count="3">
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
534 <element name="genome1" file="test4_rep1.fa" ftype="fasta" />
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
535 <element name="genome2" file="test4_rep2.fa" ftype="fasta" />
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
536 <element name="genome3" file="test4_rep3.fa" ftype="fasta" />
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
537 </output_collection>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
538 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
539 <test expect_num_outputs="1">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
540 <conditional name="reads">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
541 <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
542 <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
543 <conditional name="genome">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
544 <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
545 <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
546 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
547 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
548 <section name="cov">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
549 <param name="count" value="true"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
550 <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
551 </section>
2
5bf5792b0996 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 877d09f04bae57678daa94766fd31d0d0f1b6a37
iuc
parents: 1
diff changeset
552 <output name="output1" file="test5.tsv" ftype="tsv" sort="true"/>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
553 </test>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
554 </tests>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
555 <help><![CDATA[
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
556 .. class:: infomark
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
557
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
558 **Dereplication quality formula**
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
559
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
560 Scoring function for genome quality:
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
561
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
562 - 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
563 - completeness-4contamination: *completeness-4*contamination*
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
564 - completeness-5contamination: *completeness-5*contamination*
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
565 - 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
566
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
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
569 .. class:: infomark
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
570
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
571 **Method for calculating coverage**
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
572
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
573 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
574
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
575 - 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
576 - 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
577 - 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
578 - 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
579 - 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
580 - Variance: Variance of coverage depths
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
581 - 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
582 - 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
583 - 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
584 - 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
585 - 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
586 - 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
587 - 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
588
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
589 ]]></help>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
590 <expand macro="citation"/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
591 </tool>