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

Resolving issues #16, #17, #18, #21 and update to Autometa API and Logger #25

Merged
merged 20 commits into from
Mar 26, 2020

Commits on Feb 19, 2020

  1. updated add_contig_taxonomy.py to merge any nodes if databases nodes.…

    …dmp and merged.dmp are out of sync with nr.gz
    evanroyrees committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    e16b4b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2889600 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6505fda View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2020

  1. Configuration menu
    Copy the full SHA
    7d16d90 View commit details
    Browse the repository at this point in the history
  2. Merge pull request KwanLab#9 from WiscEvan/master

    merge nodes when databases out of sync.
    jason-c-kwan authored Mar 2, 2020
    Configuration menu
    Copy the full SHA
    faf8243 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. Configuration menu
    Copy the full SHA
    3c2ef35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1d8982c View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2020

  1. Resolves KwanLab#16, Resolves KwanLab#17 and simplified config parsin…

    …g. Renamed 'projects' to 'workspace' to avoid confusion with 'project'. test metagenome.config file has been updated with respective files & parameters. Reconfigured logger to stream info and write debug level to timestamped log file. Added exceptions. to be used across autometa pipeline.
    evanroyrees committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    d53fb03 View commit details
    Browse the repository at this point in the history
  2. fixed merge conflicts

    evanroyrees committed Mar 11, 2020
    Configuration menu
    Copy the full SHA
    31e0e2f View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2020

  1. updates to project configuration handling metagenome numbering. Now r…

    …etrieves versions from each executable dependency in environ.py. This is used in prodigal to parse corresponding to the prodigal version. I.e. 2.5 differs from version >=2.6. Prodigal now will parse ORF headers and convert contigs to ORF headers according to version available. Default config now has versions section and generated config files now contain versions section related to executable dependencies. Renamed 'new_workspace' in user.py to 'new_project' as this is more appropriate.
    evanroyrees committed Mar 12, 2020
    Configuration menu
    Copy the full SHA
    b71e813 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2020

  1. significant simplification in API. Created Databases class in databas…

    …es.py for handling databases config. Default behavior is to download and format required databases. Changed flag to flag to be more clear. autometa will print an issue request to the user upon any exceptions being encountered (NOT KeyboardInterrupt.. Although this will also be logged). Logging behavior changed slightly, where user can specify level (default is INFO) and path to log file. binning call has been moved to user.py. autometa.config imports in user.py have been removed and general autometa.config module is imported via to perform respective func call.
    evanroyrees committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    2b812da View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2020

  1. updates to check dependencies and control of debugging information wh…

    …en checking dependencies. Executable versions are now logged in debug info. log is now only written when flag is supplied. Timestamped log has been commented out. In the future, this could be a flag to log each run via a timestamped log. in databases now only returns the config and the method of databases is used when checking dependencies.
    evanroyrees committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    caeb6f9 View commit details
    Browse the repository at this point in the history
  2. updated 'get_versions' function to return the version string if a pro…

    …gram is provided as input. Updated respective files using this function. This should be clearer than returning a dict of the program passed in as key and removes redundant calls to pass in the program as input and then again as a key to retrieve the version value.
    evanroyrees committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    138c273 View commit details
    Browse the repository at this point in the history
  3. hotfix to case where new project does not contain any metagenomes. sk…

    …ip performing check to place appropriate metagenome number and just return 1.
    evanroyrees committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    ea282d1 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2020

  1. Changed OSError to subclass ChildProcessError in prodigal.py. This is…

    … a bug fix related to exception hierarchy. changed timeit logging message format. Respective exception handling updatedin metagenome.py
    evanroyrees committed Mar 16, 2020
    Configuration menu
    Copy the full SHA
    ee1fbec View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2020

  1. Configuration menu
    Copy the full SHA
    bbfaecd View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2020

  1. fix to extract contigs from orf_ids using specific prodigal version. …

    …Note: entire pipeline currently assumes orf calling was performed using prodigal. Update to template.py where ArgumentParser now has default description, where previously this was by default usage. (Which the usage by default should be the name of the script). Updates to respective files where ORF to contig translations are necessary.
    evanroyrees committed Mar 19, 2020
    Configuration menu
    Copy the full SHA
    5c73579 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2020

  1. updated pandas numpy module call for nan to pd.NA from pandas version…

    … 1.0. in kmers and recursive_dbscan. Updated main function for recursive dbscan with required coverage table input and subsetting taxonomy by the provided domain. Datatype conversion in pandas dataframes are now performed to optimize space in mag.py and recursive_dbscan.py. Added script description to coverage.py and removed unused exception handling in docstring. Renamed bedtools column 'breadth' to 'depth_fraction' and 'total_breadth' to 'depth_product'. Added KmerFormatError in docstring in kmers.load() func. Updated docstring in autometa.config.environ.find_executables()
    evanroyrees committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    bd007a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. update to docstrings added new file key in config and comma-delimited…

    … list handling for multiple reads files in input. Added fasta format check and simple fasta parser from Biopython for performance and Exception handling. Docstrings noting where discussions should be placed on readthedocs relating to specific autometa functionality.
    evanroyrees committed Mar 24, 2020
    Configuration menu
    Copy the full SHA
    4688efb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    406041b View commit details
    Browse the repository at this point in the history