-
Notifications
You must be signed in to change notification settings - Fork 0
/
biobambam_split.xml
32 lines (29 loc) · 1.16 KB
/
biobambam_split.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<tool id="biobambam_split" name="BioBamBam Split" version="1.0.0">
<description>Bam File Splitter</description>
<requirements>
<container type="docker">pcap_tools</container>
</requirements>
<command interpreter="python">
biobambam_split.py --bam_path ${input_bam} --output_dir outputs --header header.sam
</command>
<inputs>
<param name="input_bam" type="data" format="bam" label="BAM to split"/>
</inputs>
<outputs>
<collection name="outputs_1" type="list" label="ReadGroup BAM set (forward)">
<discover_datasets pattern="(?P<name>.*)\_1\.fq?" format="fastq" directory="outputs"/>
</collection>
<collection name="outputs_2" type="list" label="ReadGroup BAM set (reverse)">
<discover_datasets pattern="(?P<name>.*)\_2\.fq?" format="fastq" directory="outputs"/>
</collection>
<!-- collection name="split_output" type="list" label="ReadGroup BAM set">
<discover_datasets pattern="__name_and_ext__" directory="outputs"/>
</collection -->
<data format="text" name="bamheader" label="BamHeader" from_work_dir="header.sam"/>
</outputs>
<stdio>
<exit_code range="1:" />
</stdio>
<help>
</help>
</tool>