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