Make Paired File Task-Scripture
1
0
Entering edit mode
11.6 years ago
GPR ▴ 390

Hello, I am trying to prepare the input file for Scripture and have stumbled upon the fact that I need to have the TopHat alignment output split into right and left reads. Can somebody tell me how to do this? I obviously had a bam file,containing both right and left reads. Thanks, G.

• 1.7k views
ADD COMMENT
0
Entering edit mode
11.6 years ago

I think you could get that information from the SAM file. the spec says that column 8 PNEXT indicates the position of the mate/next segment.

So for each line if the position is larger than the current position then it is a left read otherwise a right read.

ADD COMMENT
0
Entering edit mode

Thanks a lot, I will look into this.

ADD REPLY

Login before adding your answer.

Traffic: 1868 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6