How do I use BSgenome.Hsapiens.NCBI.GRCh38 #1018
-
I would like to use BSgenome.Hsapiens.NCBI.GRCh38 with ArchR I have done the following: The documentation then says that I need However I don't find TxDb.Hsapiens.NCBI.GRCh38.knownGene on BioConductor (I do find org.Hs.eg.db on BioConductor). How do I get around this? Must I follow these instructions? Alternatively, if you dont have a TxDb and OrgDb object, you can create a geneAnnotation object from the following information : A “genes” object - a GRanges object containing gene coordinates (start to end). This object must have a symbols column matching the symbols column of the “exons” object described below. A final question is what string will I use for the 'addArchRGenome' call? 'addArchRGenome("GRCh38")'? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We've adopted TxDb and OrgDb as a standard to make our lives easier. This means we off-load any questions about those packages to the broader community. You should be able to find instructions on how to create your own TxDb object from a GTF file online if that is what you would like to do. You need to make very sure that your genome and gene annotation match correctly with the genome used for alignment. When using a custom genome, you do not use https://www.archrproject.com/reference/createArrowFiles.html |
Beta Was this translation helpful? Give feedback.
We've adopted TxDb and OrgDb as a standard to make our lives easier. This means we off-load any questions about those packages to the broader community. You should be able to find instructions on how to create your own TxDb object from a GTF file online if that is what you would like to do. You need to make very sure that your genome and gene annotation match correctly with the genome used for alignment.
When using a custom genome, you do not use
addArchRGenome()
. You pass your genome and gene annotations to the arguments ofcreateArrowFiles()
andArchRProject()
https://www.archrproject.com/reference/createArrowFiles.html
https://www.archrproject.com/reference/ArchRProject.html