A workflow for identifying novel viruses in Virtool.
- Eliminate sample reads that map to any default (representative) isolate of any OTU.
- Eliminate sample reads that map to the configured subtraction.
- Repair paired reads if some pair members were lost in elimination.
- Assemble the remaining reads using SPAdes.
- Calculate ORFs from the assembled contigs.
- Use ORFs as input for HMMER to detect viral motifs using profile hidden Markov models derived from the vFAM project.
To run the tests for this package, use the following command:
docker run $(docker build -q .) pytest
If you want to run specific tests, you can specify the test file or directory as an
argument to pytest
:
docker run $(docker build -q .) pytest tests/test_workflow.py
If you get an error like:
Unable to find image 'pytest:latest' locally
Your build is likely failing. Run the build separately to make sure it works:
docker build .
Read our guide on writing commits for Virtool repositories.