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

DandD crashing in exact mode #9

Closed
simolucaa opened this issue Nov 12, 2024 · 1 comment
Closed

DandD crashing in exact mode #9

simolucaa opened this issue Nov 12, 2024 · 1 comment

Comments

@simolucaa
Copy link

Hi,
we are trying to use your tool on some bacterial datasets. So far the dashing mode is working fine.

However, when launching DandD with the following command:
./dandd tree --datadir ../../data/split_ecoli --tag ecoli --exact
the tool seems to crash. Attached, you can also find the log file containing the errors.

Any help is much appreciated.

ecoli_exact.log

@jessicabonnie
Copy link
Owner

jessicabonnie commented Nov 13, 2024

Hi Marti,
It seems like KMC is struggling with at least one of the files and then choking on the incomplete output file when it tries to compute cardinality. So the kmc_pre and kmc_suf files exist but they aren't usable. I recommend testing those files using kmc itself to identify which one complains. Something like this:

unique_names=$(ls ../../data/split_ecoli/*.kmc_* | sed 's/\.[^.]*$//' | sort | uniq)
for name in $unique_names; do
    echo "Processing $name"
    kmc "${name}" <SOME COMMAND>
done

After you have found it, just delete those two kmc files and try again!

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