-
Notifications
You must be signed in to change notification settings - Fork 8
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
Automated codon usage table selection #88
Comments
The simplest solution I could find is to use Entrez Direct
nf-core has some of the Entrez Direct tools but not |
Want to have a shot at writing either an nf-core module or a local module for it? nf-core moduleMake a fork of nf-core modules. git checkout -b entrezdirect_efetch Then make a new module
but it means you'll also have to write an nf-test too. LocallyMake a fork of the EBP pilot workflow
but here you won't have to write an nf-test and don't need to follow nf-core guidelines. Then make PR back to the main workflow |
We can also query ENA: # Get mitochondrial genetic code
SPECIES="Laetiporus sulphureus" # meta.id
curl -s "https://www.ebi.ac.uk/ena/taxonomy/rest/scientific-name/$( sed 's/ /%20/g' <<< "$SPECIES" )" | jq -r '.[] | .mitochondrialGeneticCode' https://ena-docs.readthedocs.io/en/latest/retrieval/programmatic-access/taxon-api.html and could be implemented similarly to https://github.com/NBISweden/Earth-Biogenome-Project-pilot/blob/main/modules/local/tol/search.nf |
Mitohifi and perhaps other tools need to specify the codon usage table to use.
Can this be automated?
The text was updated successfully, but these errors were encountered: