Closed peterk87 closed 4 years ago
Good idea! We welcome a pull request, otherwise we will try to get to it after we fix a few other issues (namely #12 and CMash installation issues).
I could give it a try :)
What version of Python are you targeting? Python 3.6 and later? f-strings, in-line type hints are very nice.
@peterk87 Yes, Python >=3.6 is the goal. And goal is to get Travis CI up in the next month, so we can auto test PR's, but until then, we can just make/run manual tests.
@dkoslicki That's great to hear! Hope setting up CI isn't too tricky for you guys! I've found it difficult to get even tiny bioinformatics analyses to run in a reasonable amount of time with very limited memory.
I've found the cookiecutter recipe for Python packages to have a nice Travis-CI setup (and generally nice structure for a Python package)
Recent Python tools I've been developed have been bootstrapped with:
$ cookiecutter https://github.com/audreyr/cookiecutter-pypackage.git
Also has some config for auto deployment to PyPI on tagged release creation in Github.
Hope that helps!
relative location calls now removed (assuming installed by user) in 8a616e022c0cde8543a9837d7d5cd4704b413685. Also KMC, minimap2, and CMash now auto-installed in Bioconda release, so closing this issue.
Right now Minimap2 needs to be installed in a path relative to the calling script:
https://github.com/nlapier2/Metalign/blob/94b6820da1396dd3187dc96cdb9fbb0511636d91/map_and_profile.py#L427
It's fairly easy to install Minimap2 and KMC3 with Conda from the Bioconda channel:
Code could be changed to: