![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tophat junctions.bed | RockChalkJayhawk | RNA Sequencing | 7 | 12-12-2013 10:56 AM |
How to make sense of Tophat's output file 'junctions.bed' | gsinghal | RNA Sequencing | 4 | 09-03-2012 06:49 AM |
Trouble getting TopHat to work -- empty junctions.bed | thurisaz | RNA Sequencing | 6 | 12-01-2011 11:13 AM |
Missing Junctions in Tophat! ( after providing a known junctions & gene models files) | avi | Bioinformatics | 2 | 08-02-2011 04:21 PM |
tophat junctions.bed | MerFer | Bioinformatics | 0 | 06-16-2010 02:57 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Toronto Join Date: Nov 2009
Posts: 24
|
![]()
Hi,
Basically I would like to double check before writing my own script to do so. Since I need to pool together samples with different read lengths, I have to run TopHat separately for them (using the -j option wherever appropriate). I already know how to merge the resulting .sam files with samtools and generate a combined coverage.wig file. Before putting effort to combine the junctions.bed files, I would like to know: 1. If there are tools/scripts to do this already, either within TopHat or outside. 2. If none, I would like to confirm if the score field of the junctions.bed file is simply the number of uniquely mapping reads that are aligned to the junction, or if muitlreads are also counted/weighted. Please feel free to share your knowledge/experience/comments. Thanks a lot! -- Leo |
![]() |
![]() |
![]() |
#2 |
Member
Location: Kansas City Join Date: Oct 2009
Posts: 88
|
![]()
You could use Galaxy (http://main.g2.bx.psu.edu/). Upload the files (probably as file format tabular) you want to combine and then use the 'Concatenate queries' tool found under Text Manipulation. There's probably a short script out there to combine them, but this should work for what you want to do too.
-Brandon |
![]() |
![]() |
![]() |
#3 |
Senior Member
Location: Boston, MA Join Date: Nov 2008
Posts: 212
|
![]()
TopHat comes with an (undocumented, I realize) script called bed_to_juncs. Running it on a TopHat BED file will produce a .juncs-format file. To merge these, you can simply cat them together, sort, and pipe to uniq.
|
![]() |
![]() |
![]() |
#4 | |
Member
Location: Toronto Join Date: Nov 2009
Posts: 24
|
![]() Quote:
I am aware of the bed_to_juncs script but when converting BED files to .junc files, it doesn't preserve the score and overhang information that I would like to combine. BTW, could you confirm if my understanding of the score field in BED files is correct? Thanks a lot! -- Leo Last edited by HTS; 12-14-2009 at 01:27 PM. |
|
![]() |
![]() |
![]() |
#5 | |
Member
Location: Toronto Join Date: Nov 2009
Posts: 24
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Member
Location: Kansas City Join Date: Oct 2009
Posts: 88
|
![]()
I'm new just thought I'd try helping. Apparently it isn't the bed file format I am familiar with.
|
![]() |
![]() |
![]() |
#7 |
Member
Location: Vancouver, BC Join Date: May 2011
Posts: 55
|
![]()
Did you end up writing your own script that merges the junction.bed files from different sample while preserving the score? If yes, would you be willing to share that script since this is exactly what I need to do.
|
![]() |
![]() |
![]() |
#8 | |
Member
Location: boston Join Date: Aug 2010
Posts: 15
|
![]() Quote:
cat junctions_file1.bed junction_file_2.bed junction_file_3.bed| tbed2juncs | combineJuncs > combined.juncs combine.juncs will be a BED file and contains all of the junctions from the junction files with the score the sum of the junction scores. The names of the junctions are the locations of the two nucleotides at the edges of the exons that are joined together. |
|
![]() |
![]() |
![]() |
#9 | |
Senior Member
Location: China Join Date: Feb 2009
Posts: 116
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|