Metagenome read simulation of multiple synthetic communities
Straight-forward simulations of metagenome data from a collection of reference bacterial/archaeal genomes.
- Can simulate Illumina, PacBio, and/or Nanopore reads
- For Illumina, synthetic long reads (read clouds) can also be simulated
- Generate communities differing in:
- Sequencing depth
- Richness
- Beta diversity
The workflow:
- [optional] Download reference genomes
- Format reference genomes
- e.g., rename contigs
- Simulate communities
- Simulate reads for each community
See the conda install
line in the CI yaml
pip install MGSIM
python setpy.py install
conda-forge::pytest>=5.3
conda-forge::pytest-console-scripts>=1.2
In the MGSIM base directory, use the command pytest
to
run all of the tests.
To run tests on a particular test file:
pytest -s --script-launch-mode=subprocess path/to/the/test/file
Example:
pytest -s --script-launch-mode=subprocess ./tests/test_Reads.py
See all subcommands:
MGSIM --list
MGSIM genome_download -h
MGSIM communities -h
MGSIM reads -h
MGSIM ht_reads -h
See LICENSE