annotate coverm_contig.xml @ 0:6941d0d453ba draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
author iuc
date Tue, 26 Apr 2022 15:27:37 +0000
parents
children 688a777e1b19
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
1 <tool id="coverm_contig" name="CoverM-CONTIG" version="@TOOL_VERSION@" python_template_version="3.5">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
2 <macros>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
3 <import>macros.xml</import>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
4 <token name="@INPUT_FORMATS@">fasta,fastq,fastq.gz,fasta.gz</token>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
5 <token name="@TOOL_VERSION@">0.2.1</token>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
6 </macros>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
8 <command><![CDATA[
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
9 #if $reads.read_type == "single" or $reads.read_type == "interleaved"
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
10 mkdir -p reads1 &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
11 #set file_paths1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
12 #for $input_file in $reads.single
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
13
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
14 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
15 #set $file_path = 'reads1/' + $fname
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
16 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
17 $file_paths1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
18 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
19 #else if $reads.read_type == "bam"
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
20 mkdir -p bam &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
21 #set bam_files = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
22 #for $input_file in $reads.bam
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
23
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
24 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
25 #set $file_path = 'bam/' + $fname
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
26 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
27 $bam_files.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
28 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
29 #else if $reads.read_type == "paired"
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
30 mkdir -p paired_reads1 &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
31 #set fw_reads1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
32 #for $input_file in $reads.read1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
33
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
34 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
35 #set $file_path = 'paired_reads1/' + str($fname)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
36 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
37 $fw_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
38 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
39 #set rv_reads1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
40 #for $input_file in $reads.read2
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
41
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
42 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
43 #set $file_path = 'paired_reads1/' + str($fname)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
44 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
45 $rv_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
46 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
47 #silent $fw_reads1.sort()
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
48 #silent $rv_reads1.sort()
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
49 #else
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
50 mkdir -p paired_reads &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
51 #set paired_reads1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
52 #for $i, $input_file in enumerate($reads.paired_reads)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
53 #set $file_path = 'paired_reads/fw' + str($i)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
54 ln -s '$input_file.forward' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
55 $paired_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
56 #set $file_path = 'paired_reads/rv' + str($i)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
57 ln -s '$input_file.reverse' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
58 $paired_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
59 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
60 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
61 #if $add_reads.extra_read.read_type == "single" or $add_reads.extra_read.read_type == "interleaved"
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
62 mkdir -p add_reads1 &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
63 #set add_file_paths1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
64 #for $input_file in $add_reads.extra_read.single
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
65 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
66 #set $file_path = 'add_reads1/' + $fname
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
67 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
68 $add_file_paths1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
69 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
70 #else if $add_reads.extra_read.read_type == "bam"
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
71 mkdir -p add_bam &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
72 #set add_bam_files = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
73 #for $input_file in $reads.bam
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
74 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
75 #set $file_path = 'add_bam/' + $fname
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
76 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
77 $add_bam_files.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
78 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
79 #else if $add_reads.extra_read.read_type == "paired"
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
80 mkdir -p add_paired_reads1 &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
81 #set add_fw_reads1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
82 #for $input_file in $add_reads.extra_read.read1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
83 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
84 #set $file_path = 'add_paired_reads1/' + str($fname)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
85 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
86 $add_fw_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
87 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
88 #set add_rv_reads1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
89 #for $input_file in $add_reads.extra_read.read2
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
90 #set $fname = $input_file.element_identifier.replace(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
91 #set $file_path = 'add_paired_reads1/' + str($fname)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
92 ln -s '$input_file' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
93 $add_rv_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
94 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
95 #silent $add_fw_reads1.sort()
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
96 #silent $add_rv_reads1.sort()
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
97 #else if $add_reads.extra_read.read_type == "paired_collection"
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
98 mkdir -p add_paired_reads &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
99 #set add_paired_reads1 = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
100 #for $i, $input_file in enumerate($add_reads.extra_read.paired_reads)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
101 #set $ext = $input_file.forward.ext
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
102 #set $file_path = 'add_paired_reads/fw' + str($i) + '.' + $ext
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
103 ln -s '$input_file.forward' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
104 $add_paired_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
105 #set $file_path = 'add_paired_reads/rv' + str($i) + '.' + $ext
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
106 ln -s '$input_file.reverse' '$file_path' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
107 $add_paired_reads1.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
108 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
109 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
110
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
111 #if $reads.ref_fasta_history
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
112 mkdir -p reference &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
113 #set ref_files = []
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
114 #for $input_file in $reads.ref_fasta_history
6941d0d453ba "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(" ","_")
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
116 #set $file_path = 'reference/' + $fname
6941d0d453ba "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' &&
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
118 $ref_files.append($file_path)
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
119 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
120 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
121
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
122 coverm contig
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
123 #if $reads.read_type == 'paired'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
124 -1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
125 #for $read in $fw_reads1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
126 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
127 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
128 -2
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
129 #for $read in $rv_reads1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
130 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
131 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
132 #else if $reads.read_type == 'paired_collection'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
133 --coupled
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
134 #for $read in $paired_reads1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
135 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
136 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
137 #else if $reads.read_type == 'single'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
138 --single
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
139 #for $read in $file_paths1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
140 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
141 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
142 #else if $reads.read_type == 'interleaved'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
143 --interleaved
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
144 #for $read in $file_paths1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
145 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
146 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
147 #else if $reads.read_type == 'bam'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
148 -b
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
149 #for $read in $bam_files
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
150 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
151 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
152 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
153
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
154 #if $add_reads.extra_read.read_type == 'paired'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
155 -1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
156 #for $read in $add_fw_reads1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
157 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
158 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
159 -2
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
160 #for $read in $add_rv_reads1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
161 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
162 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
163 #else if $add_reads.extra_read.read_type == 'paired_collection'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
164 --coupled
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
165 #for $read in $add_paired_reads1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
166 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
167 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
168 #else if $add_reads.extra_read.read_type == 'single'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
169 --single
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
170 #for $read in $add_file_paths1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
171 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
172 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
173 #else if $add_reads.extra_read.read_type == 'interleaved'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
174 --interleaved
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
175 #for $read in $add_file_paths1
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
176 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
177 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
178 #else if $add_reads.extra_read.read_type == 'bam'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
179 #for $read in $add_bam_files
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
180 '${read}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
181 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
182 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
183
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
184
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
185 #if $reads.ref_fasta_history:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
186 --reference
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
187 #for $reference in $ref_files
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
188 '${reference}'
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
189 #end for
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
190 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
191
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
192 $shar.sharded
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
193
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
194 #if $mapping.mapper:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
195 --mapper $mapping.mapper
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
196 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
197 #if $mapping.min_read_aligned_length:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
198 --min-read-aligned-length $mapping.min_read_aligned_length
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
199 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
200 #if $mapping.min_read_percent_identity:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
201 --min-read-percent-identity $mapping.min_read_percent_identity
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
202 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
203 #if $mapping.min_read_aligned_percent:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
204 --min-read-aligned-percent $mapping.min_read_aligned_percent
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
205 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
206 #if $mapping.min_read_aligned_length_pair:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
207 --min-read-aligned-length-pair $mapping.min_read_aligned_length_pair
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
208 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
209 #if $mapping.min_read_percent_identity_pair:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
210 --min-read-percent-identity-pair $mapping.min_read_percent_identity_pair
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
211 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
212 #if $mapping.min_read_aligned_percent_pair:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
213 --min-read-aligned-percent-pair $mapping.min_read_aligned_percent_pair
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
214 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
215 $mapping.proper_pairs_only
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
216 $mapping.exclude_supplementary
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
217
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
218 --methods $cov.relative_abundance $cov.mean $cov.cond_methods.trimmed_mean $cov.covered_bases $cov.covered_fraction
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
219 $cov.variance $cov.length $cov.count $cov.metabat $cov.coverage_histogram $cov.reads_per_base
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
220 $cov.rpkm $cov.tpm
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
221 #if $cov.min_covered_fraction:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
222 --min-covered-fraction $cov.min_covered_fraction
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
223 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
224 #if $cov.contig_end_exclusion:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
225 --contig-end-exclusion $cov.contig_end_exclusion
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
226 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
227 #if $cov.cond_methods.trimmed_mean
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
228 #if $cov.cond_methods.trim_min:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
229 --trim-min $cov.cond_methods.trim_min
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
230 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
231 #if $cov.cond_methods.trim_max:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
232 --trim_max $cov.cond_methods.trim_max
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
233 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
234 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
235
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
236 #if $out.output_format:
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
237 --output-format $out.output_format
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
238 #end if
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
239 --output-file output.tsv
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
240 --threads \${GALAXY_SLOTS:-1}
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
241 2> stdout.txt
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
242 ]]></command>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
243 <inputs>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
244 <expand macro="reads_for_contig" />
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
245 <expand macro="add_reads" />
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
246 <section name="shar" title="Sharding" expanded="false">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
247 <param name="sharded" type="boolean" optional="true" truevalue="--sharded" falsevalue="" label="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." />
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
248 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
249 <expand macro="mapping"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
250 <expand macro="coverage"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
251 <section name="out" title="Output options" expanded="false">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
252 <param name="output_format" type="select" label="Shape of output" help="'Sparse' for long format, 'dense' for species-by-site. Default: dense]">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
253 <option value="dense" selected="true">Dense</option>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
254 <option value="sparse">Sparse</option>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
255 </param>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
256 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
257 </inputs>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
258 <outputs>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
259 <data name="output1" format="tsv" from_work_dir="./output.tsv"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
260 </outputs>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
261 <tests>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
262 <test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
263 <conditional name="reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
264 <param name="read_type" value="paired_collection"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
265 <param name="paired_reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
266 <collection type="list:paired">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
267 <element name="reads_for_seq1_and_seq2..fq">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
268 <collection type="paired">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
269 <element name="forward" value="reads_for_seq1_and_seq2.1.fq.gz"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
270 <element name="reverse" value="reads_for_seq1_and_seq2.2.fq.gz"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
271 </collection>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
272 </element>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
273 </collection>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
274 </param>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
275 <param name="ref_fasta_history" value="7seqs.fna"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
276 </conditional>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
277 <output name="output1" file="contig_test1.tsv" ftype="tsv"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
278 </test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
279 <test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
280 <conditional name="reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
281 <param name="read_type" value="single"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
282 <param name="single" value="bad_reads.interleaved.fq"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
283 <param name="ref_fasta_history" value="2seqs.fasta"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
284 </conditional>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
285 <section name="cov">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
286 <param name="contig_end_exclusion" value="0"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
287 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
288 <section name="out">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
289 <param name="output_format" value="sparse"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
290 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
291 <output name="output1" file="contig_test2.tsv" ftype="tsv"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
292 </test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
293 <test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
294 <conditional name="reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
295 <param name="read_type" value="interleaved"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
296 <param name="single" value="bad_reads.all.interleaved.fa"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
297 <param name="ref_fasta_history" value="2seqs.fasta"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
298 </conditional>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
299 <section name="cov">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
300 <param name="contig_end_exclusion" value="0"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
301 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
302 <section name="mapping">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
303 <param name="min_read_aligned_length_pair" value="300"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
304 <param name="proper_pairs_only" value="true"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
305 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
306 <section name="out">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
307 <param name="output_format" value="sparse"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
308 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
309 <output name="output1" file="contig_test3.tsv" ftype="tsv"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
310 </test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
311 <test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
312 <conditional name="reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
313 <param name="read_type" value="paired"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
314 <param name="read1" value="reads_for_seq1_and_seq2.1.fq.gz"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
315 <param name="read2" value="reads_for_seq1_and_seq2.2.fq.gz"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
316 <param name="ref_fasta_history" value="2seqs.fasta"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
317 </conditional>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
318 <section name="add_reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
319 <conditional name="extra_read">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
320 <param name="read_type" value="paired_collection"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
321 <param name="paired_reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
322 <collection type="list:paired">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
323 <element name="reads_for_seq1_and_seq2..fq">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
324 <collection type="paired">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
325 <element name="forward" value="reads_for_seq1_and_seq2.1.fq.gz"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
326 <element name="reverse" value="reads_for_seq1_and_seq2.2.fq.gz"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
327 </collection>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
328 </element>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
329 </collection>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
330 </param>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
331 </conditional>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
332 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
333 <section name="cov">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
334 <param name="contig_end_exclusion" value="0"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
335 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
336 <section name="mapping">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
337 <param name="--min-read-percent-identity" value="0.95"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
338 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
339 <output name="output1" file="contig_test4.tsv" ftype="tsv"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
340 </test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
341 <test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
342 <conditional name="reads">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
343 <param name="read_type" value="bam"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
344 <param name="bam" value="tpm_test.bam"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
345 </conditional>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
346 <section name="cov">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
347 <param name="mean" value="true"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
348 <param name="tpm" value="true"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
349 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
350 <section name="out">
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
351 <param name="output_format" value="sparse"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
352 </section>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
353 <output name="output1" file="contig_test5.tsv" ftype="tsv"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
354 </test>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
355 </tests>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
356 <help><![CDATA[
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
357 .. class:: infomark
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
358
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
359 **Method for calculating coverage**
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
360
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
361 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.
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
362
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
363 - Relative abundance: Percentage relative abundance of each genome, and the unmapped read percentage
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
364 - Mean: Average number of aligned reads overlapping each position on the genome
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
365 - Trimmed mean: Average number of aligned reads overlapping each position after removing the most deeply and shallowly covered positions.
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
366 - Covered fraction: Fraction of genome covered by 1 or more reads
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
367 - Covered bases: Number of bases covered by 1 or more reads
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
368 - Variance: Variance of coverage depths
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
369 - Length: Length of each genome in base pairs
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
370 - Count: Number of reads aligned toq each genome. Note that a single read may be aligned to multiple genomes with supplementary alignments
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
371 - Reads per base: Number of reads aligned divided by the length of the genome
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
372 - MetaBAT: Reproduction of the `MetaBAT <https://bitbucket.org/berkeleylab/metabat>`_ tool output
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
373 - Coverage histogram: Histogram of coverage depths
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
374 - RPKM: Reads mapped per kilobase of genome, per million mapped reads
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
375 - TPM: Transcripts Per Million as described in `Li et al 2010 <https://doi.org/10.1093/bioinformatics/btp692>`_
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
376
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
377 ]]></help>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
378 <expand macro="citation"/>
6941d0d453ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
379 </tool>