Counting starting and ending positions of reads in reference genome
1
0
Entering edit mode
5.1 years ago
bobbyle0210 ▴ 10

Hi, Currently, I am working with NGS processing data. After getting SAM/BAM file, now, I want to output a text file that indicates the starting (5 end) and ending (3 end) position of each read in the corresponding reference sequence as well as the sequence of the read. The output file may look like:


ref_seq_1 starting_point read_1_sequence ending_point


ref_seq_1 starting_point read_2_sequence ending_point


ref_seq_2 starting_point read_3_sequence ending_point


I guess that I may need to use bedtools but I am still not sure which command should I use to obtain such information. Could you guys give me some suggestions? Thank you so much.

RNA-Seq bedtools SAM BAM NGS • 926 views
ADD COMMENT

Login before adding your answer.

Traffic: 2415 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