Skip to content
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

bwa not generating sam file when provided with simulator's output #1

Closed
mrpk123 opened this issue May 23, 2019 · 3 comments
Closed

Comments

@mrpk123
Copy link

mrpk123 commented May 23, 2019

Hi,

I tried to simulate chr7.fa with 1000 random SNPs with the command

perl simuG.pl -refseq chr7.fa -snp_count 1000 -prefix simulated

Then I tried to generate sam file using bwa. Got following error

image

Would appreciate if you provide any pointers.

Please note, bwa worked very well with the original chr7.fa
Regards
Mrinal

@yjx1217
Copy link
Owner

yjx1217 commented May 23, 2019

Hi Mrinal,

Thanks for trying out simuG!
In its current implementation, simuG is for simulating the genome but not the reads, but you can simulate reads using read simulator (e.g. ART for Illumina reads) based on the simulated genome generated by simuG. You can check the supplementary note of our simuG paper for how to do this. After generating the simulated reads, you can map them back to the reference genome to call variants that were introduced by simuG. The supplementary note should also guide you to this point.

Please let me know if you have further questions.

Best,
Jia-Xing

@mrpk123
Copy link
Author

mrpk123 commented May 23, 2019 via email

@yjx1217
Copy link
Owner

yjx1217 commented May 23, 2019

You are welcome! :-)
I am closing this issue now.

Best,
Jia-Xing

@yjx1217 yjx1217 closed this as completed May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants