Skip to content

Commit

Permalink
Merge pull request #1070 from griffithlab/dependencies
Browse files Browse the repository at this point in the history
Remove BigMHC and DeepImmuno as direct dependencies
  • Loading branch information
susannasiebert authored Feb 28, 2024
2 parents 4771b54 + e92a125 commit a760704
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
run: |
pip install polars==0.16.18
pip install pypandoc==1.7.2
pip install git+https://github.com/griffithlab/bigmhc.git#egg=bigmhc
pip install git+https://github.com/griffithlab/deepimmuno.git#egg=deepimmuno
pip install -e .
mhcflurry-downloads fetch
- name: List installed packages
Expand Down
53 changes: 50 additions & 3 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,7 @@ install it manually by running:
.. note::

The ``mhcflurry`` package needs to be installed in the same python 3 conda
environment as the ``pvactools`` package.
The ``mhcflurry`` package needs to be installed in the same Python 3 environment as the ``pvactools`` package.

Next, you will need to download the download the MHCflurry datasets and trained models:

Expand Down Expand Up @@ -165,7 +164,7 @@ install it manually by running:
.. note::

The ``mhcnuggets`` package needs to be installed in the same python 3 conda
The ``mhcnuggets`` package needs to be installed in the same Python 3
environment as the ``pvactools`` package.

You can check that the ``mhcnuggets`` package was installed successfully by running:
Expand All @@ -185,6 +184,54 @@ tensorflow manually to version 1.5.0 should solve this problem:
pip install tensorflow==1.5.0
Installing BigMHC
-----------------

If you wish to run the BigMHC_EL or BigMHC_IM prediction algorithms, you will need to
install BigMHC on your system. This package not a direct dependency of
the the ``pvactools`` packages and needs to be installed manually by running:

.. code-block:: none
pip install git+https://github.com/griffithlab/bigmhc.git#egg=bigmhc
.. note::

BigMHC needs to be installed in the same python 3
environment as the ``pvactools`` package.

You can check that BigMHC was installed successfully by running:

.. code-block:: none
pip show bigmhc
This should show information about the BigMHC installation.

Installing DeepImmuno
---------------------

If you wish to run the DeepImmuno prediction algorithm, you will need to
install DeepImmuno on your system. This package not a direct dependency of
the the ``pvactools`` packages and needs to be installed manually by running:

.. code-block:: none
pip install git+https://github.com/griffithlab/deepimmuno.git#egg=deepimmuno
.. note::

DeepImmuno needs to be installed in the same python 3
environment as the ``pvactools`` package.

You can check that DeepImmuno was installed successfully by running:

.. code-block:: none
pip show deepimmuno
This should show information about the DeepImmuno installation.

.. _blast:

Installing BLAST
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
'mhcflurry==2.0.6',
'testfixtures',
'polars==0.16.18',
'bigmhc @ git+https://github.com/griffithlab/bigmhc.git#egg=bigmhc',
'deepimmuno @ git+https://github.com/griffithlab/deepimmuno.git#egg=deepimmuno',
],
package_data={
'pvactools.tools.pvacseq': pvacseq_data_files,
Expand Down

0 comments on commit a760704

Please sign in to comment.