-
I have not learned makefile scripting customization very well yet. i have the snpcall.mk running on an ubuntu system with the default caller.
but am getting this error following this command: i found that the
and this command in the workflow stops as well:
is this error coming from piping the output of freebayes into bcftools ? also is it possible to run singularity from MacOS? thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I will be cleaning up these examples shortly to make them fully consistent with other examples. I have not been using these lately and looks like these drifted out of consistency with the others. I'll be adding a test that you and everyone can run that would run all modules and workflows. |
Beta Was this translation helpful? Give feedback.
-
A new makefile called https://www.biostarhandbook.com/books/workflows/help/install/#4-how-to-test-all-modules Here is how the usage would go. Get the updated code bio code then first run the bash src/setup/init-stats.sh setup script that will create two additional environments, one called make -f src/Test.mk to see the various targets it can run. For example the command below tests all modules:
or test all recipes:
to test the deepvariant module (UNIX only)
|
Beta Was this translation helpful? Give feedback.
-
There is a more general change that affects all modules as well. It used to be that the modules had "smart" defaults, basically were prefilled with names generated from accession numbers and SRR numbers. This "intelligent" behavior seemed useful initially as the examples all worked like "magic" and looked elegant. In practice, the tacit behavior leads to many subtle bugs and can result in inadvertently using the wrong read/reference/annotation, etc. It tripped me up many times as well. When used in real-life scenarios, we always override all inputs to control the file naming. Going forward, all inputs will be labeled with non-existing files like I hope that the new kind of labeling will better communicate what needs to go where. The module's end user must enter the correct read name, such as In the end, bioinformatics is the science of plugging the right file to the right place so we have to approach it that way and not overautomate that process. In addition, every file will be checked, and the makefile will try to produce a more meaningful error messages when a file is missing rather than tacitly using an existing file that the user did not intend to include. I will be working through the examples to clean those up as well. |
Beta Was this translation helpful? Give feedback.
A new makefile called
Test.mk
has been added. A section in the documentation describes the testing framework (make sure to refresh the page to get the updated content):https://www.biostarhandbook.com/books/workflows/help/install/#4-how-to-test-all-modules
Here is how the usage would go. Get the updated code
then first run the
setup script that will create two additional environments, one called
stats
and one calledsalmon_env
that runssalmon
. The tests assume that these environments are present. Then run:to see the various targets it can run. For example the command below tests all modules:
or test all …