Open kwongj opened 8 years ago
Garbage in, garbage out.
Megahit would probably do ok with it.
Not really a problem I can solve, and yes, Makefiles don't handle this well :(
Perhaps add an error message if the estimated coverage is too low?
@kwongj that would be good, but a little tricky because of the makefile architecture. in fact most pipelines struggle with "business logic" in the middle of things.
there are a couple of ways it might be able to be handled.
when you say "error message" do you mean exit the pipeline or just print something?
I think it would be reasonable to exit the pipeline, but at the very least, it would be nice to print something to stderr
.
stderr
that sequenceX and sequenceY have low sequencing depth ± exit the pipeline.We have the same issue where nullarbor stopped at the assembly step. We had to manually invoke make several times to complete the pipeline. Our coverage is over 100 fold. We tried doing spades manually using cleaned reads generated by the trimmomatic step as well as uncleaned reads and the runs completed.
@labrat9 You can run make -k
which "keeps on going" despite any failed sections.
make
itself has no capability to do "business logic". I would need to add in "helper scripts" which check things along the way and exit.
I should probably do this for coverage estimation at minimum.
Nullarbor seemed to stop during assembly stage using spades - I couldn't see any error message. I found 2 sequences that were low coverage (9x and 17x), and when I re-ran nullarbor in the same folder using an edited Makefile excluding these two sequences, it ran as expected.