Mercurial > repos > iuc > bamtools_split_paired
comparison bamtools_split_paired.xml @ 0:75104ddce35f draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools_split commit 1cacd14cfb2429fefa91fdd05c82d2e36d23283a"
| author | iuc |
|---|---|
| date | Sat, 27 Nov 2021 10:03:57 +0000 |
| parents | |
| children | 5325e44297b9 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:75104ddce35f |
|---|---|
| 1 <tool id="bamtools_split_paired" name="Split BAM by Paired/Single End" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> | |
| 2 <description></description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements" /> | |
| 7 <command> | |
| 8 <![CDATA[ | |
| 9 ln -s '${input_bam}' 'localbam.bam' && | |
| 10 ln -s '${input_bam.metadata.bam_index}' 'localbam.bam.bai' && | |
| 11 bamtools split -paired | |
| 12 -in localbam.bam | |
| 13 -stub split_bam | |
| 14 ]]> | |
| 15 </command> | |
| 16 <inputs> | |
| 17 <param name="input_bam" type="data" format="bam" label="BAM dataset to split by single_end/paired_end"/> | |
| 18 </inputs> | |
| 19 <outputs> | |
| 20 <data format="bam" name="single" label="${input_bam.name} mapped" from_work_dir="split_bam.SINGLE_END.bam" /> | |
| 21 <data format="bam" name="paired" label="${input_bam.name} unmapped" from_work_dir="split_bam.PAIRED_END.bam" /> | |
| 22 </outputs> | |
| 23 <tests> | |
| 24 <test> | |
| 25 <param name="input_bam" ftype="bam" value="bamtools-input-paired.bam"/> | |
| 26 <output name="single" file="split_bam.SINGLE_END.bam" compare="sim_size" delta="200" /> | |
| 27 <output name="paired" file="split_bam.PAIRED_END.bam" compare="sim_size" delta="200" /> | |
| 28 </test> | |
| 29 </tests> | |
| 30 <help> | |
| 31 **What is does** | |
| 32 | |
| 33 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). | |
| 34 | |
| 35 ----- | |
| 36 | |
| 37 .. class:: warningmark | |
| 38 | |
| 39 | |
| 40 **How it works** | |
| 41 | |
| 42 | |
| 43 Splits the input BAM file into 2 output files named (SINGLE_END) and (PAIRED_END) containing single_end and paired_end reads, respectively. | |
| 44 | |
| 45 ----- | |
| 46 | |
| 47 .. class:: infomark | |
| 48 | |
| 49 **More information** | |
| 50 | |
| 51 Additional information about BAMtools can be found at https://github.com/pezmaster31/bamtools/wiki | |
| 52 | |
| 53 </help> | |
| 54 <citations> | |
| 55 <citation type="doi">10.1093/bioinformatics/btr174</citation> | |
| 56 </citations> | |
| 57 </tool> |
