annotate comebin_bam.xml @ 0:58e81911db44 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:07 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
58e81911db44 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@">
58e81911db44 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>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
3 <macros>
58e81911db44 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>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
5 </macros>
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
8 <![CDATA[
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
9
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
10 mkdir 'outputs' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
11
58e81911db44 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'):
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
15 #else:
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
17 #end if
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
18
58e81911db44 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":
58e81911db44 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":
58e81911db44 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'):
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
26 #else:
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
29 #end if
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
30 #else:
58e81911db44 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'):
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
36 #else:
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
39 #end if
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
40 #end if
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
41 #else:
58e81911db44 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'):
58e81911db44 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' &&
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
45 #else:
58e81911db44 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' &&
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
47 #end if
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
48 #end if
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
49
58e81911db44 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
58e81911db44 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'
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
52 -o 'outputs'
58e81911db44 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}
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
54 -l ${length}
58e81911db44 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":
58e81911db44 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'
58e81911db44 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'
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
58 #else:
58e81911db44 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'
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
60 #end if
58e81911db44 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'
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
62
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
63 ]]>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
64 </command>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
65 <inputs>
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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">
58e81911db44 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>
58e81911db44 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>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
71 </param>
58e81911db44 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">
58e81911db44 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">
58e81911db44 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">
58e81911db44 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>
58e81911db44 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>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
77 </param>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
80 </when>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
84 </when>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
85 </conditional>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
86 </when>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
89 </when>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
90 </conditional>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
92 </inputs>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
93 <outputs>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
95 </outputs>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
96 <tests>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
107 </collection>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
108 </param>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
109 </conditional>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
110 </conditional>
58e81911db44 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">
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
112 <assert_contents>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
114 </assert_contents>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
115 </output>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
116 </test>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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"/>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
125 </conditional>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
126 </conditional>
58e81911db44 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">
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
128 <assert_contents>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
130 </assert_contents>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
131 </output>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
132 </test>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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">
58e81911db44 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"/>
58e81911db44 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"/>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
141 </conditional>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
142 </conditional>
58e81911db44 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">
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
144 <assert_contents>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
146 </assert_contents>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
147 </output>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
148 </test>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
149 </tests>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
150 <help>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
151 <![CDATA[
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
152
58e81911db44 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**
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
154
58e81911db44 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.
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
156
58e81911db44 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.
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
158
58e81911db44 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!
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
160
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
161 **Input**
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
162
58e81911db44 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
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
164
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
165 **Output**
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
166
58e81911db44 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!)
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
168 ]]>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
169 </help>
58e81911db44 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"/>
58e81911db44 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/comebin_bam/ commit ac8533700fff90dbc9cfc2af66c2a721e4b52f2c
iuc
parents:
diff changeset
171 </tool>