# HG changeset patch # User xuebing # Date 1333249002 14400 # Node ID 611d7bc58c129136a9217ca27387d4c86b874b3a Uploaded diff -r 000000000000 -r 611d7bc58c12 bowtie_to_bed.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bowtie_to_bed.xml Sat Mar 31 22:56:42 2012 -0400 @@ -0,0 +1,44 @@ + + converter + bowtie_to_bed.pl $input $out_file1 $extendLength + + + + + + + + + + + + + + + + + +**What it does** + +This tool converts bowtie output map format file to bed format, with the option to extend the 3 primer end. + +- Sequence and quality information is lost after conversion +- The output contains a track name at the first row + +----- + +**Example** + +Converting the following bowtie mapped reads:: + + SRR073078.2 HWUSI-EAS465_8_1_1_524 length=36 - chr2 112499209 AGTGTGACTGCATCTCTTCCTTCGTGGGGCTNCAGT ... + SRR073078.3 HWUSI-EAS465_8_1_1_1054 length=36 + chr17 75877120 CCACNCCTCCTTTCAAAACACACTGCCAGGTGCGTC ... + +will result in:: + + track name=/home/xuebing/Research/galaxy/galaxy-dist/database/files/000/dataset_5.dat itemRgb=On + chr2 112499109 112499245 SRR073078.2-HWUSI-EAS465_8_1_1_524-length=36 1 - 112499209 112499245 0,255,0 + chr17 75877120 75877256 SRR073078.3-HWUSI-EAS465_8_1_1_1054-length=36 1 + 75877120 75877156 255,0,0 + + +