Skip to content

Error in seqinr #19

@ThomasLemarcis

Description

@ThomasLemarcis

Hi,

First of all thank you for this R package, it's a really useful tool.

Nevertheless I have an issue when I use the following script to find my sequences in Genbank:

**install.packages("AnnotationBustR")
library(AnnotationBustR)

#File with all the accessions:
ncbi.accessions<-c("MT374078","MN983150", "MN983149", "NC_049091", "NC_048962", "MT240815", "MT240814", "MT240813", "MT240812", "MT240811", "MT240810", "MT240809", "MT240808", "MT240807", "MT240806", "MT240805", "MT240804", "MT043269", "MN583349", "MW044625", "MW376482", "MW316790", "MW316791", "MW316792", "MW316795", "MW316796", "MW316798", "MT408027", "MT232845", "MT415926", "MN871953", "MT755650", "MT755651", "MT762151", "MT762153", "MT762152", "MT762154", "MT762155", "MT768039", "MT768040", "MT768043", "MT768044", "MT755652", "MT755854", "MT762157", "MT768042", "MT755653", "MT762156", "MT768041", "MT768045", "MW194096", "MW768045", "MT755649", "MW548267", "MH140432")

#loads the mitochondrial DNA search terms for metazoans
data(mtDNAterms)

#Run annotationBurst
my.seqs<-AnnotationBust(Accessions=ncbi.accessions, Terms=mtDNAterms, DuplicateSpecies=TRUE, Prefix="Demo", TidyAccessions=TRUE)**

Then I have this error message:

Error in seqinr::query(paste("SUB", paste0("AC=", new.access), "AND T=CDS", :
Unable to get any answer from socket after 10 trials.

Surprisingly, I obtain this error at different steps, sometimes with the first GenBank accession number but other times with the second or the third one. I know about the "NC_" sequences problem with seqinr but the first sequences in my list are not "NC_" sequences.

Is there any problem with my script?

Thanks a lot in advance for your answer.

Best Regards.

Thomas Lemarcis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions