Question: How do I extract data from a .ab1 file ?
0
gravatar for anuragm
4.4 years ago by
anuragm0
India
anuragm0 wrote:

I am trying to extract information about the nucleotide signal strength at each location for a .ab1 file. Basically I want the ratio of the parameters P1AM and P2AM

library(sangerseqR)
x=read.abif(file.choose())
x$P1AM

This gives me an error saying $ is not an operator for Class S4. Is there a way to achieve what I am trying to do ?

 

 

ab1 sequence sangerseqr • 706 views
ADD COMMENTlink modified 4.4 years ago by aaron.l.statham10 • written 4.4 years ago by anuragm0
Answer: How do I extract data from a .ab1 file ?
0
gravatar for aaron.l.statham
4.4 years ago by
Australia
aaron.l.statham10 wrote:

The 'P1AM' and 'P2AM' fields are inside the 'Data' slot - you can find this by using str(x). You can pull out these fields using the @ operator - x@Data$P1AM will do the trick.

 

 

ADD COMMENTlink modified 4.4 years ago • written 4.4 years ago by aaron.l.statham10

I am getting output NULL. What could be wrong ?

ADD REPLYlink written 4.4 years ago by anuragm0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 256 users visited in the last hour