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

Adding species but not repeating the mapping of existing species #51

Open
Yuqia opened this issue Nov 29, 2023 · 1 comment
Open

Adding species but not repeating the mapping of existing species #51

Yuqia opened this issue Nov 29, 2023 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@Yuqia
Copy link

Yuqia commented Nov 29, 2023

Hello,

I'd like to add more species to the previously built tree. Is there a way to re-use the mapping information of the previously included species and add this information to the mapping information of the newly added species, instead of re-mapping all previously included species again?

Thank you.

@sinamajidian sinamajidian added question Further information is requested enhancement New feature or request labels Dec 5, 2023
@mudymudy
Copy link

I guess you could just back up your concatenated MSA (.phy) and the tree files in a different folder. Then just run:

read2tree --standalone_path marker_genes/ --output_path output --reads species3_R1.fastq species3_R2.fastq

An n' number of times depending on how many samples you want to add, then finally:

read2tree --standalone_path marker_genes/ --output_path output --merge_all_mappings --tree

You will basically create a new concatenated alignment with the newly incorporated samples with the new tree inference at the end. Hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants