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

Add --sequence option #2

Open
Wytamma opened this issue Aug 8, 2021 · 0 comments
Open

Add --sequence option #2

Wytamma opened this issue Aug 8, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Wytamma
Copy link
Owner

Wytamma commented Aug 8, 2021

This would allow users to replace the sequence/trait data using -DF and a JSON file.

dynamic-beast --sequence beast.xml 

Resulting in a dynamic XML file that has the sequence data replaced with $(sequence) and trait replaced with $(trait). The user can then specify these in a JSON file.

{
"sequences":"
<sequence taxon='D4Brazi82'>            ATGCGATGCG        </sequence>
<sequence taxon='D4ElSal83'>            ATGCGATGCG        </sequence>
<sequence taxon='D4Thai84'>             GTGCGATGCG        </sequence>
","trait":"
D4Brazi82  = 1982,
D4ElSal83  = 1983,
D4Thai84   = 1984"
}

This file would be run with beast as folows.

beast -DF dynamic.json dynamic.xml
@Wytamma Wytamma added the enhancement New feature or request label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant