-
Notifications
You must be signed in to change notification settings - Fork 6
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
find-motifs
fails to load before_file
#218
Comments
Hello @Ge0rges, It looks like all of the bedmethyl records are being filtered out due to low coverage. I'll make the logging more descriptive in the next release. The default value to awk '($5>=4)' barcode11.bed | less -S You can see that most of the records have very low methylation, which is confirmed by the log:
If I run the following command, you get 78 motifs, but most are very ambiguous. modkit find-motifs \
-i ./barcode11.bed \
-r ./Cognaticolwellia_r-contigs.fna \
-t 10 \
--min-sites 2 \
--min-frac-mod 0.5 \
--log-filepath find_motifs.log \
--min-coverage 4 Higher coverage will certainly help. |
Got it that makes sense. So there isn't an actual error here, I'll add an exception in my script which will ignore the return value. Thanks! |
Hi @ArtRand,
On the latest (0.3.1) and previous version of modkit, the attached bedfile produces a crash in find-motifs when I run this command:
Out:
The text was updated successfully, but these errors were encountered: