How do I extract data from a .ab1 file ?
1
0
Entering edit mode
anuragm • 0
@anuragm-7148
Last seen 10.0 years ago
India

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 • 1.9k views
ADD COMMENT
0
Entering edit mode
@aaronlstatham-6743
Last seen 9.8 years ago
Australia

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 COMMENT
0
Entering edit mode

I am getting output NULL. What could be wrong ?

ADD REPLY

Login before adding your answer.

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