AAbin vs DNAbin structures
1
0
Entering edit mode
rogerb • 0
@c76b3ea9
Last seen 14 months ago
United States

I'm trying to do what I think should be simple - e.g. extract the names of the sequences from an AAbin object. I had working code for a DNAbin object that looks like

seq_data <- fasta2DNAbin(all_files[i])
names <- dimnames(seq_data)

The corresponding code for an AAbin object

seq_data <- ape::read.FASTA(all_files[i], type = "AA")
names <- dimnames(seq_data)

produces a null variable "names". What is the correct way to get the list of names from an AAbin file?

```

Biostrings • 846 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

The ape package is from CRAN, not Bioconductor. If you want help with CRAN packages you can try r-help@r-project.org, or possibly biostrings.com

ADD COMMENT
0
Entering edit mode

biostrings.com does not exist :) maybe biostars.org?

ADD REPLY
1
Entering edit mode

Sure it does. You can get some sweet stone crushers from them. ;-D

ADD REPLY

Login before adding your answer.

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