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 getDefaultOrganism(), getOrganism(), and setOrganism() #19

Open
HenrikBengtsson opened this issue May 8, 2015 · 0 comments
Open

Comments

@HenrikBengtsson
Copy link
Owner

Add getDefaultOrganism(), getOrganism(), and setOrganism(), where:

  • setOrganism() sets the organism field of the object, which by default is not set (=NULL).
  • getOrganism() gets the organism field. if not set, then falls back to returning getDefaultOrganism().
  • getDefaultOrganism() tries to infers the organism from the aroma-flavored directory structure, e.g. annotationData/organisms/<organism>/Ensembl/79/foo.fa => <organism>. If this fails, an exception is thrown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant