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