fritzsedlazeck / Spectre

Copy number caller for long read data including SNV utilization
MIT License
54 stars 3 forks source link

Refactor modules to support installing directly with pip #7

Closed edawson closed 5 months ago

edawson commented 1 year ago

Hi,

This PR refactors the modules in this package to be more friendly to global import. It also adds a setup.py script that installs the main spectre "executables" (scripts) in the system path. This allows pip to install the package directly from the github repo like so:

pip install git+https://github.com/edawson/Spectre.git@bb55cd0

(can also be installed without a git tag to install latest)
RUN pip install git+https://github.com/edawson/Spectre.git

The resulting installed modules can then be called like so from the command line:

spectre CNVCaller <args>

Cheers, Eric