This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Find Corresponding GenBank ID

This is what I have.

Is it possible to get corresponding GenBank ID via BioSample or BioProject Accession? It is great if you guys could give me some valuable suggestions and comments how to solve.

Thanks

gene biosample bioproject genbank

I was assigned BioProject and BioSample accession number when I take WGS submission. Will I get the GenBank ID when the annotation process is finished? Perhaps I misunderstood and thanks again!

Classification is at the taxid level so it looks like all strains of the species are collected under main taxid (Shewanella algae (taxid:38313)).

I did this as a part of one of my project. This could be helpful

library("genomes")
proks <- reports("prokaryotes.txt")

# BioProject Accession: PRJNA312015
biopro <- proks[grep("312015",proks$`BioProject ID`),]
ftp_biopro <- biopro$`FTP Path`


file_type <- "feature_table.txt"
GCA <- tail(unlist(strsplit(ftp_biopro, "/")),1)
file_type <- paste0(GCA,"_",paste0(file_type, ".gz"))
down_file <- paste(ftp_biopro,file_type, sep ="/")
dest <- "weather.op.gz" 
download.file(url = down_file, destfile = dest) 
my_data <- read.table(dest, header=F, sep = "\t")

0 answers

No answers yet.

Log in to answer this question.