annotate tools/mytools/bowtie2bed.xml @ 2:c2a356708570

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:42 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="bowtie2bed" name="bowtie-to-bed">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description> converter and read extender</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="perl">bowtie2bed.pl $input $out_file1 $extendLength </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 <param name="input" format="txt" type="data" label="Bowtie map result file"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <param name="extendLength" size="10" type="integer" value="200" label="Extend 3 primer (bp)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <data format="bed" name="out_file1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <param name="input" value="test.map" ftype="TXT"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <param name="extendLength" value="200"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <output name="out_file1" file="testmap.bed"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 This tool converts bowtie output map format file to bed format, with the option to extend the 3 primer end.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 - Sequence and quality information is lost after conversion
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 - The output contains a track name at the first row
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 -----
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 Converting the following bowtie mapped reads::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 SRR073078.2 HWUSI-EAS465_8_1_1_524 length=36 - chr2 112499209 AGTGTGACTGCATCTCTTCCTTCGTGGGGCTNCAGT ...
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 SRR073078.3 HWUSI-EAS465_8_1_1_1054 length=36 + chr17 75877120 CCACNCCTCCTTTCAAAACACACTGCCAGGTGCGTC ...
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 will result in::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 track name=/home/xuebing/Research/galaxy/galaxy-dist/database/files/000/dataset_5.dat itemRgb=On
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 chr2 112499109 112499245 SRR073078.2-HWUSI-EAS465_8_1_1_524-length=36 1 - 112499209 112499245 0,255,0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 chr17 75877120 75877256 SRR073078.3-HWUSI-EAS465_8_1_1_1054-length=36 1 + 75877120 75877156 255,0,0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 </tool>