-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support for circular genomes? #25
Comments
Hello @teojcryan, thank you for using MeSS ! The current MeSS version does not handle circular genomes yet ! We plan to implement readSimulator's solution to shuffle genome breakpoints in a future update. This is in the works and we will let you know as soon as possible. |
Hello @teojcryan, we merged #31 to support circular genomes ! We added a new Using test.tar.gz we simulated reads for a single circular phage genome, with the commands below: mess simulate -i test.tsv --fasta fastas -o mess_out/no-rotate --sdm apptainer --threads 10
mess simulate -i test.tsv --fasta fastas -o mess_out/rotate --sdm apptainer --threads 10 --rotate 10 Assemblies were done with unicycler: unicycler -1 mess_out/no-rotate/fastq/sample1_R1.fq.gz -2 mess_out/no-rotate/fastq/sample1_R2.fq.gz -o unicycler/no-rotate --threads 10
unicycler -1 mess_out/rotate/fastq/sample1_R1.fq.gz -2 mess_out/rotate/fastq/sample1_R2.fq.gz -o unicycler/rotate --threads 10 Assembly graphs with Bandage:
|
Thank you so much—this is incredibly appreciated! The added functionality will be very helpful, especially for bacterial communities. I was thinking, would it be possible to take this a step further by controlling the rotation at a more granular level? For example, for more complex communities with linear and circular genomes, it could be interesting to allow the option of providing a rotate parameter for each row in an input file. Something like this:
Just a thought for future iterations in case this seems like something others might find useful too! |
I've managed to get
|
Hello @teojcryan, thanks for your valuable tests and suggestions ! I fixed the Additionally, I added the possiblity to set rotate values in the input table ! Using samples.tsv.gz , the command below ran without issues: mess run -i samples.tsv --threads 10 Let me know if you encounter other bugs or have other suggestions ! |
I'm using MeSS to simulate reads from circular genomes and want to ensure that the reads span the arbitrary breakpoint so that the resulting assembly retains as much of its circularity. I noticed that another tool, readSimulator, has a feature for handling circular genomes, and I was wondering if MeSS has something similar or if it might be in the works?
The text was updated successfully, but these errors were encountered: