-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make a TxDb object for the T2T-CHM13v2.0 genome (telomere to telomere Human genome) #1
Comments
Hello, I am having problems with the getChromInfoFromNCBI function. When I try chrominfo <- getChromInfoFromNCBI("T2T-CHM13v2.0"), shows this: Error in download.file(url, destfile, method, quiet = TRUE): Is this some trouble with my connection or with something else? Thanks in advance |
What's your Is the following code working for you?
Please show the output you get. If it doesn't work then yes it's some trouble with your connection. If you are behind an HTTP proxy (a common set up at many institutions), then it could also be a problem with the configuration of the proxy, in which case you would need to talk with your institution IT. FWIW I just tried this again with BioC 3.19 (the latest Bioconductor release, requires R 4.4), and it works fine for me:
My sessionInfo():
|
[Moved from https://github.com/Bioconductor/GenomicFeatures/issues/65 on March 22, 2024]
Question: How to make a TxDb object for the T2T-CHM13v2.0 genome (telomere to telomere Human genome), a.k.a. the hs1 genome at UCSC.
Answer: Unfortunately,
makeTxDbFromUCSC()
doesn't support hs1 at the moment, so we're going to use the GFF file provided by NCBI.Download
GCF_009914755.1_T2T-CHM13v2.0_genomic.gff.gz
from https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/009/914/755/GCF_009914755.1_T2T-CHM13v2.0/Import the GFF file as a GRanges object:
Note that the sequence names in the GRanges object are RefSeq accessions:
Let's change them to the official chromosome names:
Add the complete sequence info to the GRanges object:
Use
makeTxDbFromGRanges()
to make a TxDb object from the GRanges object:Note that if you need the UCSC chromosome names instead of the NCBI ones, you can switch them with
seqlevelsStyle()
:H.
The text was updated successfully, but these errors were encountered: