-
Notifications
You must be signed in to change notification settings - Fork 13
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
ref : Macaca Fascicularis 5.0, missing style #10
Comments
Can you please provide a reproducible example of the problem? |
I don't see that So yes please follow Martin's advice as it's hard to help you without having a little bit more details about what's going on. FWIW I'll take a guess that the problem you're running into is caused by the exotic chromosome names in the Macaca_fascicularis_5.0 assembly:
These names would certainly confuse To rename the chromosomes and scaffolds to the more standard UCSC naming scheme, you can do:
Then try |
Hello, I was allowed to share a bit of a vcf file that can be found here : https://github.com/MuShuw/sharable/blob/master/test.vcf We use R 3.6.5 on the project. The next lines can reproduce the error :
At that point appears the next error :
The traceback give this :
Concerning the proposed solution using getChromInfoFromNCBI, I have not been able to use that function despite loading the library. Thanks again for your help. Elyas. |
Yes I see now that GenomeInfoDb has an If you're using R 3.6.5 that means you're using an old and unsupported version of Bioconductor. The current version (BioC 3.11) is only supported on R 4.0. Bioconductor evolves quickly and FWIW I'm currently working on making the switch between NCBI and UCSC style easier for
This will only be available in BioC >= 3.12 though (BioC 3.12 is the current development version). I strongly recommend that you update your installation to R 4.0 + BioC 3.11. Best, |
@MuShuw Have you made progress on this? Heads up: with BSgenome 1.57.3 you can now switch the style of all the sequence names in BSgenome.Mfascicularis.NCBI.5.0 with just:
Then:
Hope this helps, |
@hpages Hello, We haven't had R 4.0 installed on the server yet. I will give you an update once the former solution will be tested. BSgenome 1.57.3 is the lastest version and that last solution is the switch you were working on if understand porperly ? If so I guess I should go for this solution first once BioC 3.11 is available to me ? Thank you for your help Hervé. Regards, |
Hi @MuShuw, Just to clarify the recent improvements to the Best, |
Hi @MuShuw , is this working for you now? Thanks! H. |
Hello.
We are working with VCFs of Macaca Fascicularis.
We had an issue with your function extractSeqLevelsByGroup, called by MutationalPatterns::read_vcfs_as_granges .
The chromosomes style notation of Macaca Fascicularis is not available.
Could BSgenome.Mfascicularis.NCBI.5.0 be added to the supported organism ?
Macaca Fascicularis is an alternative to Macaca Mulatta on which research is increasing.
Regards,
Elyas.
The text was updated successfully, but these errors were encountered: