Subsetting the bamfile by readlength and extracting the information about distribution the SNV across these reads length
1
0
Entering edit mode
@alexandrgopanenko-11598
Last seen 9 months ago
Germany

Hello everyone!

I need your advices on described below topics:

  1. I have a task to subset bam-files by read length. So, it is required to have only mapped reads with length between 26-34 bp. This is some kind of ribosome profiling experiments, so I want to retent only reads of described above length.

  2. This reads also have some variants (SNV) in the defined positions. Is it possible to obtain infromation in data.frame-like view releted the distribution of these SNV across the length of these reads.

Thank you in advance, Best wishes, Alexander

Rsamtools • 619 views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 5 days ago
United States

One possibility for filtering is to use Rsamtools::filterBam(); see the help page for initial instructions.

Perhaps for SNV Rsamtools::pileup() will be helpful?

ADD COMMENT

Login before adding your answer.

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