15
|
1 <tool id="extract_aln_ends.py" name="Extract alignment ends." version="0.2.0">
|
|
2 <description>from SAM or BAM.</description>
|
55
|
3 <xml name="requirements">
|
|
4 <requirements>
|
|
5 <requirement type="package" version="0.6.9">pybedtools</requirement>
|
|
6 <requirement type="package" version="0.8.3">pysam</requirement>
|
|
7 </requirements>
|
|
8 </xml>
|
0
|
9 <macros>
|
|
10 <import>macros.xml</import>
|
|
11 </macros>
|
|
12 <expand macro="stdio" />
|
50
|
13 <version_command>python $__tool_directory__/extract_aln_ends.py --version</version_command>
|
0
|
14 <command interpreter="python"><![CDATA[
|
|
15 extract_aln_ends.py
|
|
16 #if $positional_1 and $positional_1 is not None:
|
|
17 $positional_1
|
|
18 #end if
|
|
19
|
|
20 > $default]]></command>
|
|
21 <inputs>
|
14
|
22 <param area="false" label="Alignments in SAM or BAM format." name="positional_1" type="data" format="sam,bam"/>
|
0
|
23 </inputs>
|
|
24 <outputs>
|
|
25 <data format="bed" hidden="false" name="default"/>
|
|
26 </outputs>
|
|
27 <tests>
|
|
28 <test>
|
|
29 <param name="positional_1" value="twomates.sam"/>
|
|
30 <output name="default" file="tworeads_aln_ends.bed"/>
|
|
31 </test>
|
|
32 </tests>
|
|
33 <help><![CDATA[
|
14
|
34 Extract alignment ends from bam file.
|
0
|
35
|
|
36 The resulting bed file contains the outer coordinates of the alignments. The
|
|
37 bed name field is set to the read id and the score field is set to the edit
|
|
38 distance of the alignment. The crosslinked nucleotide is one nt upstream of the
|
|
39 5'-end of the bed entries.
|
|
40
|
|
41 This tool only reports results for alignments that are properly aligned in FR
|
|
42 ("forward-reverse") direction.
|
|
43
|
|
44 Input:
|
6
|
45
|
14
|
46 * bam file containing alignments (paired-end sequencing)
|
0
|
47
|
|
48 Output:
|
6
|
49
|
0
|
50 * bed6 file containing outer coordinates (sorted by read id)
|
|
51
|
|
52 Author: Daniel Maticzka
|
|
53 Copyright: 2015
|
|
54 License: Apache
|
|
55 Email: maticzkd@informatik.uni-freiburg.de
|
|
56 Status: Development
|
|
57 ]]></help>
|
|
58 <expand macro="citations" />
|
|
59 </tool>
|