annotate macros.xml @ 3:bb3f59096c8e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
author iuc
date Wed, 26 Jul 2023 07:35:03 +0000
parents a671907f96fe
children 0ff4b0e5a3bc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
1 <macros>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
2 <token name="@TOOL_VERSION@">0.6.1</token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
3 <token name="@VERSION_SUFFIX@">1</token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
4 <token name="@PROFILE@">22.01</token>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
5 <xml name="requirements">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
6 <requirements>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">coverm</requirement>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
8 </requirements>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
9 </xml>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
10 <xml name="bio_tools">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
11 <xrefs>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
12 <xref type="bio.tools">coverm</xref>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
13 </xrefs>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
14 </xml>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
15 <xml name="citation">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
16 <citations>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
17 <citation type="bibtex">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
18 @misc{githubCoverm,
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
19 author = {B J. Woodcroft},
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
20 year = {2021},
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
21 title = {CoverM},
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
22 publisher = {GitHub},
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
23 journal = {GitHub repository},
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
24 url = {https://github.com/wwood/CoverM}
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
25 }
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
26 </citation>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
27 </citations>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
28 </xml>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
29 <xml name="mapped">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
30 <param name="mapped" type="select" label="Have the reads already been mapped to contigs?">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
31 <option value="mapped">Yes (no read mapping algorithm will be undertaken)</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
32 <option value="not-mapped" selected="true">No</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
33 </param>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
34 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
35 <xml name="assembly_mode">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
36 <param name="mode" type="select" label="Assembly mode?" help="Useful to know if contigs have been generated all samples together (co-assembly) or on each sample individually (individual assembly)">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
37 <option value="individual">Individual assembly (1 contig file per sample)</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
38 <option value="co" selected="true">Co-assembly (1 contig file for several samples)</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
39 </param>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
40 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
41 <xml name="mapped_params">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
42 <conditional name="mode">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
43 <expand macro="assembly_mode"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
44 <when value="individual">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
45 <param argument="--bam-files" type="data" format="bam" label="BAM file(s)" help="These must be reference sorted (e.g. with samtools sort) unless sharded is specified, in which case they must be read name sorted (e.g. with samtools sort -n)."/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
46 </when>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
47 <when value="co">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
48 <param argument="--bam-files" type="data" format="bam" multiple="true" label="BAM file(s)" help="These must be reference sorted (e.g. with samtools sort) unless sharded is specified, in which case they must be read name sorted (e.g. with samtools sort -n)."/>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
49 </when>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
50 </conditional>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
51 <param argument="--sharded" type="boolean" truevalue="--sharded" falsevalue="" checked="false" label="BAM file(s) read-sorted alignments of a set of reads mapped to multiple reference contig sets?" help="If set, it will choose the best hit for each read pair" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
52 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
53 <token name="@BAMS@"><![CDATA[
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
54 #if $mapped.mode.mode == 'individual'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
55 #set $fn = 'bam/' + re.sub('[^\s\w\-\\.]', '_', str($mapped.mode.bam_files.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
56 #silent $bam_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
57 ln -s '$mapped.mode.bam_files' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
58 #else
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
59 #for $i, $bam in enumerate($mapped.mode.bam_files)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
60 #set $fn = 'bam/' + re.sub('[^\s\w\-\\.]', '_', str($bam.element_identifier)) + '_' + str($i)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
61 #silent $bam_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
62 ln -s '$bam' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
63 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
64 #end if
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
65 ]]></token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
66 <xml name="genomic">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
67 <conditional name="genomic">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
68 <param type="select" name="source" label="Source of FASTA files with each genome" >
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
69 <option value="history" selected="true">History</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
70 <option value="builtin">Built-in</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
71 </param>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
72 <when value="history">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
73 <param argument="--genome-fasta-files" type="data" format="fasta" multiple="true" label="FASTA files of each genome"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
74 </when>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
75 <when value="builtin">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
76 <param argument="--genome-fasta-files" type="select" multiple="true" label="Reference genome(s)">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
77 <options from_data_table="all_fasta" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
78 </param>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
79 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
80 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
81 </xml>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
82 <xml name="cond_single_genome">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
83 <conditional name="cond_single_genome">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
84 <param argument="--single-genome" type="select" label="Are all contigs from the same genome?">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
85 <option value="--single-genome">True</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
86 <option value="">False</option>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
87 </param>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
88 <when value="--single-genome"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
89 <when value="">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
90 <conditional name="genome_contig_definition">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
91 <param argument="choice" type="select" label="How to get genome names and contig names?">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
92 <option value="default" selected="true">Using default behavior</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
93 <option value="genome-definition">Providing a file containing newline-separated list of genome name and contig</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
94 <option value="separator">Providing character that separates genome names from contig names in the reference file</option>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
95 </param>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
96 <when value="default"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
97 <when value="genome-definition">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
98 <param argument="--genome-definition" type="data" format="tabular" label="File containing newline-separated list of genome_name and contig, separated by tab, to define the genome of each contig." />
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
99 </when>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
100 <when value="separator">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
101 <param argument="--separator" type="text" label="Character that separates genome names from contig names in the reference file." >
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
102 <sanitizer>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
103 <valid initial="string.punctuation">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
104 </valid>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
105 </sanitizer>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
106 </param>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
107 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
108 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
109 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
110 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
111 </xml>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
112 <token name="@INPUT_FORMATS@">fasta,fastq,fastq.gz,fasta.gz</token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
113 <xml name="read_type">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
114 <param name="type" type="select" label="Read type" >
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
115 <option value="single">Single end</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
116 <option value="paired">Paired end</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
117 <option value="paired_collection" selected="true">Paired collection</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
118 <option value="interleaved">Interleaved</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
119 </param>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
120 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
121 <xml name="paired_reads">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
122 <param name="paired_reads" type="data_collection" collection_type="list:paired" format="@INPUT_FORMATS@" label="Collection of paired-end FASTA/Q files(s) for mapping" help="One or more pairs of forward and reverse possibly gzipped FASTA/Q files for mapping in order." />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
123 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
124 <xml name="individual_assembly_reads">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
125 <conditional name="read_type">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
126 <expand macro="read_type"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
127 <when value="single">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
128 <param argument="--single" type="data" format="@INPUT_FORMATS@" label="Single Read" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
129 </when>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
130 <when value="paired">
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
131 <param argument="-1" name="read1" type="data" format="@INPUT_FORMATS@" label="Forward FASTA/Q file for mapping" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
132 <param argument="-2" name="read2" type="data" format="@INPUT_FORMATS@" label="Reverse FASTA/Q file for mapping" />
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
133 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
134 <when value="paired_collection">
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
135 <expand macro="paired_reads"/>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
136 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
137 <when value="interleaved">
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
138 <param argument="--interleaved" type="data" format="@INPUT_FORMATS@" label="Interleaved FASTA/Q files for mapping" />
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
139 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
140 </conditional>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
141 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
142 <xml name="ref_or_genome">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
143 <param name="ref_or_genome" type="select" label="Genome definition">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
144 <option value="contigs" selected="true">From contigs (e.g. concatenated genomes or metagenome assembly)</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
145 <option value="genomic">From FASTA files with each genome</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
146 </param>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
147 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
148 <xml name="individual_assembly_reference">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
149 <param argument="--reference" type="data" format="fasta" label="Contigs"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
150 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
151 <token name="@INDIVIDUAL_ASSEMBLY_READS@"><![CDATA[
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
152 #set $reads = $mapped.mode.read_type
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
153 #if $reads.type == 'single'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
154 #set $fn = "single/" + re.sub('[^\s\w\-\\.]', '_', str($reads.single.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
155 #silent $single_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
156 ln -s '$reads.single' '$single_fp' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
157 #else if $reads.type == 'paired'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
158 #set $fn = "fw/" + re.sub('[^\s\w\-\\.]', '_', str($reads.read1.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
159 #silent $fw_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
160 ln -s '$reads.read1' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
161 #set $fn = "rv/" + re.sub('[^\s\w\-\\.]', '_', str($reads.read2.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
162 ln -s '$reads.read2' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
163 #silent $rv_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
164 #else if $reads.type == 'paired_collection'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
165 #set $id = re.sub('[^\s\w\-\\.]', '_', str($reads.paired_reads.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
166 #set $fn = "fw/" + $id
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
167 #silent $fw_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
168 ln -s '$reads.paired_reads.forward' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
169 #set $fn = "rv/" + $id
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
170 #silent $rv_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
171 ln -s '$mreads.paired_reads.reverse' '${fn}' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
172 #else if $reads.type == 'interleaved'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
173 #set $fn = "interl/" + re.sub('[^\s\w\-\\.]', '_', str($reads.interleaved.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
174 #silent $interl_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
175 ln -s '$reads.interleaved' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
176 #end if
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
177 ]]></token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
178 <token name="@INDIVIDUAL_ASSEMBLY_REF@"><![CDATA[
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
179 #set $fn = "ref/" + re.sub('[^\s\w\-\\.]', '_', str($ref.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
180 #silent $ref_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
181 ln -s '$ref' '${fn}' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
182 ]]></token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
183 <token name="@GENOME_FOR_READS@"><![CDATA[
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
184 #if $mapped.mode.genome.genomic.source == 'history'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
185 #for $i, $genome in enumerate($mapped.mode.genome.genomic.genome_fasta_files)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
186 #set $fn = re.sub('[^\s\w\-\\.]', '_', str($genome.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
187 #silent $genome_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
188 ln -s '$genome' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
189 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
190 #else
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
191 #for $i, $genome in enumerate($mapped.mode.genome.genomic.genome_fasta_files)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
192 #set $fn = re.sub('[^\s\w\-\\.]', '_', str($genome.fields.path.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
193 #silent $genome_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
194 ln -s '$genome' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
195 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
196 #end if
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
197 ]]></token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
198 <xml name="co_assembly_reads">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
199 <conditional name="read_type">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
200 <expand macro="read_type"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
201 <when value="single">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
202 <param argument="--single" type="data" format="@INPUT_FORMATS@" multiple="true" label="Single Read" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
203 </when>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
204 <when value="paired">
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
205 <param argument="-1" name="read1" type="data" format="@INPUT_FORMATS@" multiple="true" label="Forward FASTA/Q file(s) for mapping" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
206 <param argument="-2" name="read2" type="data" format="@INPUT_FORMATS@" multiple="true" label="Reverse FASTA/Q file(s) for mapping" />
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
207 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
208 <when value="paired_collection">
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
209 <expand macro="paired_reads"/>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
210 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
211 <when value="interleaved">
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
212 <param argument="--interleaved" type="data" format="@INPUT_FORMATS@" multiple="true" label="Interleaved FASTA/Q files(s) for mapping" />
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
213 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
214 </conditional>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
215 </xml>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
216 <xml name="co_assembly_reference">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
217 <param argument="--reference" type="data" format="fasta" multiple="true" label="Contigs" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
218 <param argument="--sharded" type="boolean" truevalue="--sharded" falsevalue="" checked="false" label="Mapping reads to references separately as sharded BAMs?" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
219 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
220 <token name="@CO_ASSEMBLY_READS@"><![CDATA[
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
221 #if $reads.type == 'single'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
222 #for $i, $read in enumerate($reads.single)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
223 #set $fn = "single/" + re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier)) + "_single_" + str($i) + $extra
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
224 #silent $single_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
225 ln -s '$read' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
226 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
227 #else if $reads.type == 'paired'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
228 #for $i, $read in enumerate($reads.read1)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
229 #set $id = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
230 #set $fn = "fw/" + $id + "_paired_" + str($i) + $extra
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
231 #silent $fw_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
232 ln -s '$read' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
233 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
234 #for $i, $read in enumerate($reads.read2)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
235 #set $id = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
236 #set $fn = "rv/" + $id + "_paired_" + str($i) + $extra
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
237 #silent $rv_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
238 ln -s '$read' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
239 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
240 #else if $reads.type == 'paired_collection'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
241 #for $i, $read in enumerate($reads.paired_reads)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
242 #set $id = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
243 #set $fn = "fw/" + $id + "_paired_collection_" + str($i) + $extra
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
244 #silent $fw_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
245 ln -s '$read.forward' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
246 #set $fn = "rv/" + $id + "_paired_collection_" + str($i) + $extra
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
247 #silent $rv_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
248 ln -s '$read.reverse' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
249 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
250 #else if $reads.type == 'interleaved'
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
251 #for $i, $read in enumerate($reads.interleaved)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
252 #set $id = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
253 #set $fn = "interl/" + $id + "_interleaved_" + str($i) + $extra
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
254 #silent $interl_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
255 ln -s '$read' '$fn' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
256 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
257 #end if
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
258 ]]></token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
259 <token name="@CO_ASSEMBLY_ALL_READS@"><![CDATA[
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
260 #set $reads = $mapped.mode.read_type
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
261 #set $extra = ''
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
262 @CO_ASSEMBLY_READS@
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
263 #for $j, $s in enumerate($mapped.mode.extra_reads)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
264 #set $reads = $s.read_type
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
265 #set $extra = str($j)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
266 @CO_ASSEMBLY_READS@
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
267 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
268 ]]></token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
269 <token name="@CO_ASSEMBLY_REF@"><![CDATA[
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
270 #for $i, $ref in enumerate($refs)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
271 #set $fn = "ref/" + re.sub('[^\s\w\-\\.]', '_', str($ref.element_identifier)) + "_" + str($i)
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
272 #silent $ref_fp.append( $fn )
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
273 ln -s '$ref' '${fn}' &&
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
274 #end for
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
275 ]]></token>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
276 <xml name="sharded">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
277 <param name="sharded" type="boolean" truevalue="--sharded" falsevalue="" checked="false" label="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." />
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
278 </xml>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
279 <xml name="mapping">
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
280 <param argument="--mapper" type="select" label="Underlying mapping software used">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
281 <option value="minimap2-sr" selected="true">minimap2 with '-x sr' option</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
282 <option value="minimap2-ont">minimap2 with '-x map-ont' option</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
283 <option value="minimap2-pb">minimap2 with '-x map-pb' option</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
284 <option value="minimap2-no-preset">minimap2 with no '-x' option</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
285 <option value="bwa-mem">BWA-MEM using default parameters</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
286 </param>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
287 </xml>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
288 <xml name="alignment">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
289 <section name="alignment" title="Alignment thresholding" expanded="false">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
290 <param argument="--min-read-aligned-length" type="integer" min="0" value="0"
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
291 label="Minimum number of aligned bases" help="Reads with smaller numbers of aligned bases will be excluded" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
292 <param argument="--min-read-percent-identity" type="float" min="0" max="100" value="0"
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
293 label="Minimum overall percent identity" help="Reads with lower overall percent identity will be excluded." />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
294 <param argument="--min-read-aligned-percent" type="float" min="0" max="100" value="0"
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
295 label="Minimum aligned base percent" help="Reads with lower percent aligned bases will be excluded" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
296 <conditional name="proper_pairs_only">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
297 <param argument="--proper-pairs-only" type="select" label="Require reads to be mapped as proper pairs?">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
298 <option value="--proper-pairs-only">Yes</option>
1
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
299 <option value="" selected="true">No</option>
a671907f96fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2388df7187533fb66b7729730340d2eb7b93c112
iuc
parents: 0
diff changeset
300 </param>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
301 <when value="--proper-pairs-only">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
302 <param argument="--min_read-aligned-length-pair" type="integer" min="0" value="0"
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
303 label="Minimum number of aligned bases for pairs" help="Pairs with smaller numbers of aligned bases will be excluded." />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
304 <param argument="--min-read-percent-identity-pair" type="float" min="0" max="100" value="0"
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
305 label="Minimum overall percent identity pair for pairs" help="Pairs by lower overall percent identity will be excluded" />
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
306 <param argument="--min-read-aligned-percent-pair" type="float" min="0" max="100" value="0"
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
307 label="Minimum percent of read aligned bases for pair" help="Pairs with lower reads percent aligned bases will be excluded" />
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
308 </when>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
309 <when value=""/>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
310 </conditional>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
311 <param argument="--exclude-supplementary" type="boolean" truevalue="--exclude-supplementary" falsevalue="" checked="false"
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
312 label="Exclude supplementary alignments"/>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
313 </section>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
314 </xml>
3
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
315 <xml name="cov_method_options">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
316 <option value="trimmed_mean">trimmed_mean: Average number of aligned reads overlapping each position after removing the most deeply and shallow-ly covered positions. </option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
317 <option value="coverage_histogram">coverage_histogram: Histogram of coverage depths</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
318 <option value="covered_bases">covered_bases: Number of bases covered by 1 or more reads</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
319 <option value="variance">variance: Variance of coverage depths</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
320 <option value="length">length: Length of each contig in base pairs</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
321 <option value="count">count: Number of reads aligned toq each contig. Note that a single read may be aligned to multiple contigs with supplementary alignments</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
322 <option value="metabat">metabat: ("MetaBAT adjusted coverage") Coverage as defined in Kang et al 2015</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
323 <option value="reads_per_base">reads_per_base: Number of reads aligned divided by the length of the contig</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
324 <option value="rpkm">rpkm: Reads mapped per kilobase of contig, per million mapped reads</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
325 <option value="tpm">tpm: Transcripts Per Million as described in Li et al 2010</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
326 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
327 <xml name="coverage_params">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
328 <param argument="--trim-min" type="integer" min="0" value="5" label="Smallest fraction of positions to remove when calculating" help="Only used with trimmed_mean method"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
329 <param argument="--trim-max" type="integer" min="0" value="95" label="Maximum fraction of positions to remove when calculating" help="Only used with trimmed_mean method"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
330 <param argument="--min-covered-fraction" type="integer" min="0" value="10" label="Minimum covered fraction" help="Genomes with less coverage than this reported as having zero coverage"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
331 <param argument="--contig-end-exclusion" type="integer" min="0" value="75" label="Base to exclude at contig ends" help="Bases at the ends of reference sequences will be excluded from calculation"/>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
332 </xml>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
333 <xml name="output_format">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
334 <param argument="--output-format" type="select" label="Shape of output">
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
335 <option value="dense" selected="true">Dense for species-by-site</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
336 <option value="sparse">Sparse for long format</option>
bb3f59096c8e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 2d02165f40a9f8206a69716b2302bc58f5364982
iuc
parents: 1
diff changeset
337 </param>
0
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
338 </xml>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
339 <xml name="citations">
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
340 <citations>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
341 <yield />
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
342 </citations>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
343 </xml>
134e4e78e754 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 5a4ee5e5f8eee3a08a1cd2dfd9edf15aacea0a94"
iuc
parents:
diff changeset
344 </macros>