getChromSizesFromFasta {GenomicDistributions} | R Documentation |
Get gene models from a remote or local FASTA file
getChromSizesFromFasta(source, destDir = NULL)
source |
a string that is either a path to a local or remote FASTA |
destDir |
a string that indicates the path to the directory where the downloaded FASTA file should be stored |
a named vector of sequence lengths
CElegansUrl = "http://ftp.ensembl.org/pub/release-103/fasta/caenorhabditis_elegans/dna/Caenorhabditis_elegans.WBcel235.dna.toplevel.fa.gz" CElegansChromSizes = getChromSizesFromFasta(CElegansUrl)