annotate comebin_bam.xml @ 0:d2dd7be65d47 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
author iuc
date Fri, 07 Nov 2025 16:14:20 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
1 <tool id="comebin_bam" name="Generate BAM file for COMEBin" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
2 <description>COMEBin utility script to generate BAM files using modified MetaWRAP</description>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
3 <macros>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
4 <import>macros.xml</import>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
5 </macros>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
7 <command detect_errors="exit_code">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
8 <![CDATA[
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
9
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
10 mkdir 'outputs' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
11
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
12 #if $assembly.ext.endswith('.gz'):
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
13 ln -s '$assembly' 'assembly.fasta.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
14 gunzip 'assembly.fasta.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
15 #else:
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
16 ln -s '$assembly' 'assembly.fasta' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
17 #end if
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
18
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
19 #if $read_typ.is_select == "normal":
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
20 #if $input_typ.is_select == "paired":
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
21 #if $paired_reads.forward.ext.endswith('.gz'):
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
22 ln -s '$paired_reads.forward' 'read_1.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
23 ln -s '$paired_reads.reverse' 'read_2.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
24 gunzip 'read_1.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
25 gunzip 'read_2.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
26 #else:
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
27 ln -s '$paired_reads.forward' 'read_1.fastq' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
28 ln -s '$paired_reads.reverse' 'read_2.fastq' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
29 #end if
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
30 #else:
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
31 #if $forward.ext.endswith('.gz'):
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
32 ln -s '$forward' 'read_1.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
33 ln -s '$reverse' 'read_2.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
34 gunzip 'read_1.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
35 gunzip 'read_2.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
36 #else:
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
37 ln -s '$forward' 'read_1.fastq' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
38 ln -s '$reverse' 'read_2.fastq' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
39 #end if
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
40 #end if
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
41 #else:
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
42 #if $single_reads.ext.endswith('.gz'):
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
43 ln -s '$single_reads' 'read.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
44 gunzip 'read.fastq.gz' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
45 #else:
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
46 ln -s '$single_reads' 'read.fastq' &&
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
47 #end if
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
48 #end if
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
49
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
50 gen_cov_file.sh
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
51 -a 'assembly.fasta'
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
52 -o 'outputs'
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
53 -t \${GALAXY_SLOTS:-1}
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
54 -l ${length}
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
55 #if $read_typ.is_select == "normal":
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
56 'read_1.fastq'
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
57 'read_2.fastq'
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
58 #else:
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
59 --single-end 'read.fastq'
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
60 #end if
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
61 && mv 'outputs/work_files/read.bam' '$bam_file'
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
62
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
63 ]]>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
64 </command>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
65 <inputs>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
66 <param name="assembly" type="data" format="fasta,fasta.gz" label="Input assembly file"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
67 <conditional name="read_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
68 <param name="is_select" type="select" label="Type of reads">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
69 <option value="normal" selected="true">Paired-end non-interleaved</option>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
70 <option value="single">Single-end</option>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
71 </param>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
72 <when value="normal">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
73 <conditional name="input_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
74 <param name="is_select" type="select" label="Input type">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
75 <option value="paired">Paired collection</option>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
76 <option value="single">No collection</option>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
77 </param>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
78 <when value="paired">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
79 <param name="paired_reads" type="data_collection" collection_type="paired" format="fastq,fastq.gz" label="Input paired reads collection"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
80 </when>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
81 <when value="single">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
82 <param name="forward" type="data" format="fastq,fastq.gz" label="Input forward reads"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
83 <param name="reverse" type="data" format="fastq,fastq.gz" label="Input reverse reads"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
84 </when>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
85 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
86 </when>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
87 <when value="single">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
88 <param name="single_reads" type="data" format="fastq,fastq.gz" label="Input single-end reads"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
89 </when>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
90 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
91 <param name="length" type="integer" value="1000" label="Set minimum contig length"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
92 </inputs>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
93 <outputs>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
94 <data name="bam_file" format="bam" label="COMEBin bam file"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
95 </outputs>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
96 <tests>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
97 <test expect_num_outputs="1">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
98 <param name="assembly" value="bowtie2-ref.fasta" ftype="fasta"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
99 <conditional name="read_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
100 <param name="is_select" value="normal"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
101 <conditional name="input_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
102 <param name="is_select" value="paired"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
103 <param name="paired_reads">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
104 <collection type="paired">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
105 <element name="forward" value="bowtie2-fq_1.fastq" ftype="fastq"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
106 <element name="reverse" value="bowtie2-fq_2.fastq" ftype="fastq"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
107 </collection>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
108 </param>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
109 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
110 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
111 <output name="bam_file">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
112 <assert_contents>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
113 <has_size size="17000" delta="1000"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
114 </assert_contents>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
115 </output>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
116 </test>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
117 <test expect_num_outputs="1">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
118 <param name="assembly" value="bowtie2-ref.fasta" ftype="fasta"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
119 <conditional name="read_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
120 <param name="is_select" value="normal"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
121 <conditional name="input_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
122 <param name="is_select" value="single"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
123 <param name="forward" value="bowtie2-fq_1.fastq" ftype="fastq"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
124 <param name="reverse" value="bowtie2-fq_2.fastq" ftype="fastq"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
125 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
126 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
127 <output name="bam_file">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
128 <assert_contents>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
129 <has_size size="17000" delta="1000"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
130 </assert_contents>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
131 </output>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
132 </test>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
133 <test expect_num_outputs="1">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
134 <param name="assembly" value="bowtie2-ref.fasta" ftype="fasta"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
135 <conditional name="read_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
136 <param name="is_select" value="normal"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
137 <conditional name="input_typ">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
138 <param name="is_select" value="single"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
139 <param name="forward" value="bowtie2-fq_1.fastq.gz" ftype="fastq.gz"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
140 <param name="reverse" value="bowtie2-fq_2.fastq.gz" ftype="fastq.gz"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
141 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
142 </conditional>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
143 <output name="bam_file">
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
144 <assert_contents>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
145 <has_size size="17000" delta="1000"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
146 </assert_contents>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
147 </output>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
148 </test>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
149 </tests>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
150 <help>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
151 <![CDATA[
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
152
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
153 **Why using this tool instead of Bowtie2**
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
154
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
155 COMEBin used modified from the "binning.sh" of MetaWRAP which means a complete pipeline is running to generate BAM files fit for COMEBin to use.
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
156
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
157 Other BAM file tools might also work but it is recommended to use this utility script because some test showed that using Bowtie2 COMEBin always failed since certain IDs are not contain in COMEBins data.
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
158
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
159 This tool only serve one use case which is when using COMEBin as binner other binner can use and it is recommended to use Bowtie2 in this case. Only use this script when the binner is COMEBin!
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
160
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
161 **Input**
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
162
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
163 - Single-end reads or Paired-end (non-)interleaved reads
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
164
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
165 **Output**
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
166
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
167 - One BAM file build for use for COMEBin (no other binner can use this file so please run Bowtie2 for other binner!)
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
168 ]]>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
169 </help>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
170 <expand macro="citations"/>
d2dd7be65d47 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
171 </tool>