Skip to content
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

ERROR Found in .fastTSSCounts for creating arrowfile #2127

Open
macrophage666 opened this issue Mar 4, 2024 · 6 comments
Open

ERROR Found in .fastTSSCounts for creating arrowfile #2127

macrophage666 opened this issue Mar 4, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@macrophage666
Copy link

Hi,

I have trouble creating an arrowfile. I have non-standard chromosomes for our fragment files, so I customized the geneAnnotation and genomeAnnotation which have the same seqnames with our fragment files but I still got this error. Here is log:
ArchR-createArrows-2d96605e219c6f-Date-2024-03-04_Time-14-05-54.045259.log

Thanks

@macrophage666 macrophage666 added the bug Something isn't working label Mar 4, 2024
@rcorces
Copy link
Collaborator

rcorces commented Mar 4, 2024

Hi @macrophage666! Thanks for using ArchR! Lately, it has been very challenging for me to keep up with maintenance of this package and all of my other
responsibilities as a PI. I have not been responding to issue posts and I have not been pushing updates to the software. We are actively searching to hire
a computational biologist to continue to develop and maintain ArchR and related tools. If you know someone who might be a good fit, please let us know!
In the meantime, your issue will likely go without a reply. Most issues with ArchR right not relate to compatibility. Try reverting to R 4.1 and Bioconductor 3.15.
Newer versions of Seurat and Matrix also are causing issues. Sorry for not being able to provide active support for this package at this time.

@YaoyJiang
Copy link

have you solved it? I met the same error

@macrophage666
Copy link
Author

have you solved it? I met the same error
Yes, I solved it. Did you also use a non-standard chromosome? If so, this error could be caused by that. The best way to solve it is to customize your BSgenome and Txdb packages first, using the same fa and gtf files you used to get your fragment files. Then, when creating genome annotation, exclude the unknown chromosomes. Remember to keep chrPrefix as false before creating arrowfiles.

Here are some tutorials for helping you forge your customized BSgenome and Txdb package:
https://bioconductor.org/packages/release/bioc/html/BSgenomeForge.html
https://bioconductor.org/packages/release/bioc/vignettes/GenomicFeatures/inst/doc/GenomicFeatures.html

It might take some time to get those two packages ready, but there is a high chance that your problems will be solved by doing so. I would like to help if you meet other problems in this process.

@YaoyJiang
Copy link

have you solved it? I met the same error
Yes, I solved it. Did you also use a non-standard chromosome? If so, this error could be caused by that. The best way to solve it is to customize your BSgenome and Txdb packages first, using the same fa and gtf files you used to get your fragment files. Then, when creating genome annotation, exclude the unknown chromosomes. Remember to keep chrPrefix as false before creating arrowfiles.

Here are some tutorials for helping you forge your customized BSgenome and Txdb package: https://bioconductor.org/packages/release/bioc/html/BSgenomeForge.html https://bioconductor.org/packages/release/bioc/vignettes/GenomicFeatures/inst/doc/GenomicFeatures.html

It might take some time to get those two packages ready, but there is a high chance that your problems will be solved by doing so. I would like to help if you meet other problems in this process.

Thank you very much. I have built the BSgenome and Txdb packages, but I'm still encountering the same error. What confuses me is what you mentioned about excluding the unknown chromosomes. What do you mean by "unknown chromosomes"?

@YaoyJiang
Copy link

have you solved it? I met the same error
Yes, I solved it. Did you also use a non-standard chromosome? If so, this error could be caused by that. The best way to solve it is to customize your BSgenome and Txdb packages first, using the same fa and gtf files you used to get your fragment files. Then, when creating genome annotation, exclude the unknown chromosomes. Remember to keep chrPrefix as false before creating arrowfiles.

Here are some tutorials for helping you forge your customized BSgenome and Txdb package: https://bioconductor.org/packages/release/bioc/html/BSgenomeForge.html https://bioconductor.org/packages/release/bioc/vignettes/GenomicFeatures/inst/doc/GenomicFeatures.html

It might take some time to get those two packages ready, but there is a high chance that your problems will be solved by doing so. I would like to help if you meet other problems in this process.

And I have posted an issue at https://github.com/GreenleafLab/ArchR/issues/2149#issue-2246455525

@macrophage666
Copy link
Author

Have you solved it? I met the same error
Yes, I solved it. Did you also use a non-standard chromosome? If so, this error could be caused by that. The best way to solve it is to customize your BSgenome and Txdb packages first, using the same fa and gtf files you used to get your fragment files. Then, when creating genome annotation, exclude the unknown chromosomes. Remember to keep chrPrefix as false before creating arrowfiles.

Here are some tutorials for helping you forge your customized BSgenome and Txdb package: https://bioconductor.org/packages/release/bioc/html/BSgenomeForge.html https://bioconductor.org/packages/release/bioc/vignettes/GenomicFeatures/inst/doc/GenomicFeatures.html
It might take some time to get those two packages ready, but there is a high chance that your problems will be solved by doing so. I would like to help if you meet other problems in this process.

And I have posted an issue at https://github.com/GreenleafLab/ArchR/issues/2149#issue-2246455525

Thanks for providing your original post. Your case is more complicated. I found that the genome for the organism you used only had one assembled chromosome: the chr for mitochondria. The others are just the scaffolds. In my case, only a few genes were at the scaffold level, so I just excluded those scaffolds in the genome annotation, and it works. You could not do that since most of your genes are in scaffold level. You can try just keep that assembled chromosome for creating arrowfile which probably will work. This post discussed why the scaffold might not work: #88 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants