Mercurial > repos > jjohnson > bamtools_split
comparison bamtools-split-paired.xml @ 0:8c17ddca0eee draft
Uploaded
author | jjohnson |
---|---|
date | Mon, 15 May 2017 16:27:18 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8c17ddca0eee |
---|---|
1 <tool id="bamSplitPaired" name="Split BAM by Paired/Single End" version="2.4.0"> | |
2 <description></description> | |
3 <requirements> | |
4 <requirement type="package" version="2.4.0">bamtools</requirement> | |
5 </requirements> | |
6 <command> | |
7 <![CDATA[ | |
8 ln -s '${input_bam}' 'localbam.bam' && | |
9 ln -s '${input_bam.metadata.bam_index}' 'localbam.bam.bai' && | |
10 bamtools split -paired | |
11 -in localbam.bam | |
12 -stub split_bam | |
13 ]]> | |
14 </command> | |
15 <inputs> | |
16 <param name="input_bam" type="data" format="bam" label="BAM dataset to split by single_end/paired_end"/> | |
17 </inputs> | |
18 <outputs> | |
19 <data format="bam" name="single" label="${input_bam.name} mapped" from_work_dir="split_bam.SINGLE_END.bam" /> | |
20 <data format="bam" name="paired" label="${input_bam.name} unmapped" from_work_dir="split_bam.PAIRED_END.bam" /> | |
21 </outputs> | |
22 <tests> | |
23 <test> | |
24 <param name="input_bam" ftype="bam" value="bamtools-input-paired.bam"/> | |
25 <output name="single" file="split_bam.SINGLE_END.bam" compare="sim_size" delta="200" /> | |
26 <output name="paired" file="split_bam.PAIRED_END.bam" compare="sim_size" delta="200" /> | |
27 </test> | |
28 </tests> | |
29 <help> | |
30 **What is does** | |
31 | |
32 BAMTools split is a utility for splitting BAM files. It is based on BAMtools suite of tools by Derek Barnett (https://github.com/pezmaster31/bamtools). | |
33 | |
34 ----- | |
35 | |
36 .. class:: warningmark | |
37 | |
38 | |
39 **How it works** | |
40 | |
41 | |
42 Splits the input BAM file into 2 output files named (SINGLE_END) and (PAIRED_END) containing single_end and paired_end reads, respectively. | |
43 | |
44 ----- | |
45 | |
46 .. class:: infomark | |
47 | |
48 **More information** | |
49 | |
50 Additional information about BAMtools can be found at https://github.com/pezmaster31/bamtools/wiki | |
51 | |
52 </help> | |
53 <citations> | |
54 <citation type="doi">10.1093/bioinformatics/btr174</citation> | |
55 </citations> | |
56 </tool> |