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

How to we specify indels? Advertised functions do not exist? #25

Open
YichaoOU opened this issue Apr 23, 2019 · 2 comments
Open

How to we specify indels? Advertised functions do not exist? #25

YichaoOU opened this issue Apr 23, 2019 · 2 comments
Assignees

Comments

@YichaoOU
Copy link

Hi,

In the paper, you claimed that MOODS can process sequence variants such as SNPs, insertions and deletions. So, how do we use this feature?

Thanks,
Yichao

@jhkorhonen
Copy link
Owner

The moods_dna.py supports SNPs encoded using the IUPAC nucleotide symbols, as described on the Formats page in the wiki.

For insertions, deletions and other more complicated sequence variants, you'll currently need to implement custom python scripts to handle them—I never got around to implementing this in the moods_dna.py script, since figuring out a sane way to handle the possible formats was a pain. The documentation is in a quite unfortunate state currently, but I've added a simple example script that demonstrates the basic idea: ex-variants.py

I'll see if I can figure out some simple solution variant handling in moods_dna.py, since MOODS update is long overdue anyway, and I'm planning to find a bit of time for it soon.

@YichaoOU
Copy link
Author

Thanks!

I think for deletion, you can just use -. And you can probably quickly include it in your moods_dna.py? That will be very helpful.

Thanks,
Yichao

@jhkorhonen jhkorhonen self-assigned this May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants