View source: R/makeTxToGeneFromFasta.R
makeTxToGeneFromFasta | R Documentation |
Make a TxToGene object from transcriptome FASTA
makeTxToGeneFromFasta(file, ignoreVersion = FALSE)
file |
|
ignoreVersion |
|
RefSeq transcript FASTA (e.g. "GCF_000001405.39_GRCh38.p13_rna.fna.gz") doesn't contain gene identifiers, and is not supported.
TxToGene
.
Updated 2023-11-28.
## Ensembl ====
file <- AcidBase::pasteUrl(
"ftp.ensembl.org",
"pub",
"release-102",
"fasta",
"homo_sapiens",
"cdna",
"Homo_sapiens.GRCh38.cdna.all.fa.gz",
protocol = "ftp"
)
t2g <- makeTxToGeneFromFasta(file)
print(t2g)
## GENCODE ====
## GRCh38:
## > file <- AcidBase::pasteUrl(
## > "ftp.ebi.ac.uk",
## > "pub",
## > "databases",
## > "gencode",
## > "Gencode_human",
## > "release_32",
## > "gencode.v32.transcripts.fa.gz",
## > protocol = "ftp"
## > )
## > t2g <- makeTxToGeneFromFasta(file)
## > print(t2g)
##
## GRCh37:
## > file <- AcidBase::pasteUrl(
## > "ftp.ebi.ac.uk",
## > "pub",
## > "databases",
## > "gencode",
## > "Gencode_human",
## > "release_44",
## > "GRCh37_mapping",
## > "gencode.v44lift37.transcripts.fa.gz",
## > protocol = "ftp"
## > )
## > t2g <- makeTxToGeneFromFasta(file)
## > print(t2g)
## FlyBase ====
## > file <- AcidBase::pasteUrl(
## > "ftp.flybase.net",
## > "releases",
## > "FB2019_05",
## > "dmel_r6.30",
## > "fasta",
## > "dmel-all-transcript-r6.30.fasta.gz",
## > protocol = "ftp"
## > )
## > t2g <- makeTxToGeneFromFasta(file)
## > print(t2g)
## WormBase ====
## > file <- AcidBase::pasteUrl(
## > "ftp.wormbase.org",
## > "pub",
## > "wormbase",
## > "releases",
## > "WS272",
## > "species",
## > "c_elegans",
## > "PRJNA13758",
## > "c_elegans.PRJNA13758.WS272.mRNA_transcripts.fa.gz",
## > protocol = "ftp"
## > )
## > t2g <- makeTxToGeneFromFasta(file)
## > print(t2g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.