Skip to content

Commit 551cf0c

Browse files
authored
Merge pull request #24 from mskcc/feature/add-conda-support
adding conda support
2 parents 948ce44 + 72bc187 commit 551cf0c

File tree

4 files changed

+61
-11
lines changed

4 files changed

+61
-11
lines changed

conda_build_config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
python:
2+
- 2.7
3+
- 3.5
4+
- 3.6
5+
- 3.7
6+
- 3.8
7+

meta.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{% set version = "0.4.2" %}
2+
3+
4+
package:
5+
name: mimsi
6+
version: {{ version }}
7+
8+
source:
9+
url: "https://github.com/mskcc/mimsi/archive/refs/heads/feature/add-conda-support.zip"
10+
11+
12+
build:
13+
number: 0
14+
python: {{ python }}
15+
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv "
16+
17+
requirements:
18+
host:
19+
- python
20+
- setuptools
21+
- pip
22+
23+
run:
24+
- python
25+
- future
26+
- nose >=1.3.7
27+
- pytorch ==1.4.0
28+
- torchvision ==0.5.0
29+
- numpy ==1.14.6 # [py==35]
30+
- numpy # [py>=36]
31+
- numpy # [py==27]
32+
- pandas ==0.24.2 # [py==27]
33+
- pandas # [py>=35]
34+
- pysam
35+
- scikit-learn # [py>=35]
36+
- scikit-learn >=0.20.0 # [py==27]
37+
38+
39+
40+
test:
41+
commands:
42+
- evaluate_sample --version
43+
- analyze --version
44+
- create_data --version
45+
- mi_msi_train_test --version

requirements.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
future; python_version <= '2.7'
1+
future
22
nose>=1.3.7
3-
numpy==1.16.5
3+
numpy==1.14.6; python_version == '3.5'
4+
numpy>=1.16.5; python_version >= '3.6'
5+
numpy>=1.16.5; python_version == '2.7'
46
pandas==0.24.2; python_version <= '2.7'
57
pandas
6-
pillow>=8.1.1; python_version >= '3.6'
7-
pillow
8-
pysam==0.16.0.1
8+
pysam
99
python-dateutil==2.8.1
1010
scikit-learn>=0.20.0; python_version <= '2.7'
1111
scikit-learn
1212
scipy>=1.1.0; python_version <= '2.7'
1313
scipy
14-
six==1.11.0
15-
sklearn==0.0; python_version <= '2.7'
16-
sklearn
17-
torch==1.4.0
18-
torchvision==0.5.0
14+
torch
15+
torchvision
16+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def most_recent_tag():
2929

3030
setup(
3131
name="MiMSI",
32-
version="v0.4.1",
32+
version="v0.4.2",
3333
description="A deep, multiple instance learning based classifier for identifying Microsatellite Instability from NGS",
3434
url="https://github.com/mskcc/mimsi",
3535
author="John Ziegler",

0 commit comments

Comments
 (0)