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

Segmentation fault when using --lowest species #28

Open
donovan-h-parks opened this issue Apr 1, 2022 · 3 comments
Open

Segmentation fault when using --lowest species #28

donovan-h-parks opened this issue Apr 1, 2022 · 3 comments

Comments

@donovan-h-parks
Copy link

donovan-h-parks commented Apr 1, 2022

Hi,

I've run into an issue where MetaCache runs as expected using the following parameters, but crashes with "Command terminated by signal 11" when the --lowest species flag is added:

-pairfiles -no-map -taxids -lineage -separate-cols -threads 32 -abundances profile.tsv -abundance-per species -out classification.log"

Is there a set of incompatible flags I'm using or is it possible that using the -lowest flag has uncovered a bug?

Thanks,
Donovan

@donovan-h-parks
Copy link
Author

Interestingly, everything works if I use -lowest subspecies which makes me think there is a sequence that somehow has an invalid species name. I'm using the recommended RefSeq DB with the NCBI taxonomy as per the MetaCache instructions. I've noticed that NCBI does sometime have genomes with invalid Taxon ID (i.e. the NCBI taxonomy has been updated, but the associated genome data has not been updated yet). Perhaps a similar issue is happening here.

@Funatiq
Copy link
Collaborator

Funatiq commented Apr 4, 2022

Hi Donovan! I'm not sure where bad taxonomy data could cause a segfault. Invalid taxon ids should be ignored by MetaCache. Does this error happen only with abundance output?
Can you please check if the per-read output works (dropping -no-map) with default output / -taxids-only?

@donovan-h-parks
Copy link
Author

Can I send you the data that is causing the bug? It is ~100 GB, but I can upload it to a FTP site if you can make one available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants