Description Usage Arguments Details Value Note Author(s) See Also Examples
Read files from the NCBI genomes FTP
1 | read.ncbi.ftp(org, filePattern = "ptt$|rnt$", ftp = "genomes/archive/old_refseq/Bacteria", ...)
|
org |
organism directory (new FTP requires species and refseq assembly) |
filePattern |
load files matching a specific pattern, default is protein and rna tables |
ftp |
name of base FTP directory |
... |
other options passed to read functions |
This function reads files in the genomes FTP and loads sequence files (faa=protein, fna=genone, ffn=gene, frn=rna) using Biostring functions or converts coordinate files (gff, ptt, rnt, GeneMarkHMM, Glimmer, Prodigal) to GRanges
a Biostring or GRanges object
The genomes FTP site was updated on Dec 2, 2015 ftp://ftp.ncbi.nlm.nih.gov/genomes/README.txt and the default directory is now genomes/archive/old_refseq/Bacteria
Chris Stubben
read.gff
, read.ptt
, read.genemark
, read.glimmer
, read.prodigal
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
org<-"Burkholderia_pseudomallei_K96243_uid57733"
read.ncbi.ftp(org) # Protein and rna tables
read.ncbi.ftp(org, "gff") # GFF
read.ncbi.ftp(org, "fna") # Genome sequences
read.ncbi.ftp(org, "Prod") # Prodigal annotations
read.ncbi.ftp(org, "Glim") # Glimmer
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.