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

tree inference & data management #23

Closed
rvosa opened this issue Mar 28, 2023 · 2 comments
Closed

tree inference & data management #23

rvosa opened this issue Mar 28, 2023 · 2 comments
Assignees

Comments

@rvosa
Copy link
Member

rvosa commented Mar 28, 2023

It is probably a good idea to run the steps incrementally, by which I mean: writing the alignments is a task that you can kill and then it resumes where it left of, until all families have an alignment. Same for the constraint trees: you probably want to have a tree for every alignment and store this in a folder structure. What you want to avoid is having to run everything in one giant loop that can never fail.

With that in mind, it's probably better to not have a temporary tree that has a throwaway name here, but rather have a system where the raxml run assumes that there is a constraint tree for every alignment (and they probably have the same name but with different extensions).

@rvosa
Copy link
Member Author

rvosa commented Apr 1, 2023

Think of it as a pipeline with different steps. You'd want to be able to do something like make alignments and it starts spitting out alignments, possibly in parallel. If you kill the job, it'll be able to pick up where you left off. If you do make subtrees it knows that it first needs to make alignments and make constraints, i.e. it needs to be aware of dependencies. This can be accomplished through a variety of workflow management tools, maybe the easiest one being SnakeMake.

@Naomivanes
Copy link
Collaborator

Changed the temporary constraint tree to one that gets saved in a folder. Will make a new issue to make a snakemake pipeline/rewrite the code to be able to run in a snakemake pipeline.

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

3 participants