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

Can you add a new gene in the list and run the whole analysis from profile to tree? #25

Open
kusandeep opened this issue Feb 27, 2024 · 1 comment

Comments

@kusandeep
Copy link

Hi, I was just wondering if there is a way to add an extra gene(s)on top of 61 marker genes, in the core gene list before we run the analysis? Thanks, Sandeep

@endixk
Copy link
Member

endixk commented Mar 4, 2024

Hi, this is a bit tricky but doable.

First you'll have to generate a model of your custom marker(s) using the train module. You'll need a handful of ground-truth protein sequences as seeds and reference genomes on which the model can be trained.

After this, copy over the resulting .hmm and .fa files to UFCG_PATH/config/model/pro and UFCG_PATH/config/seq/pro, respectively, where UFCG_PATH is your local installation path which can be found by running ufcg download -c.

Then, generate a comma-separated string that includes the names your custom gene(s) and 61 marker genes (e.g. GENE1,GENE2,...,ACT1,ATP6,...,ZPR1), and pass this string via -s flag of the profile module. This will allow you to extract your extra gene(s) on top of the original marker genes.

These may sound confusing and tedious, which I apologize, so please let me know if you have any further questions or encounter any problems following the procedure.

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