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

Update DRAM version #46723

Merged
merged 5 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions recipes/dram/fix_setup.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- scripts/DRAM-setup.py.old 2024-03-24 22:09:07.980198244 -0500
+++ scripts/DRAM-setup.py 2024-03-24 22:10:39.107097364 -0500
@@ -121,10 +121,10 @@
help='vog annotations file') # add loc to vog_annotations to match the rest

set_db_locs_parser.add_argument('--viral_loc', default=None,
+ help='mmseqs2 database file from ref seq viral gene collection')
set_db_locs_parser.add_argument('--camper_tar_gz_loc', default=None,
help='The source for the CAMPER database files, this is a tar.gz file downloaded'
' from the release page https://github.com/WrightonLabCSU/CAMPER/releases')
- help='mmseqs2 database file from ref seq viral gene collection')
set_db_locs_parser.add_argument('--peptidase_loc', default=None,
help='mmseqs2 database file from MEROPS database')
set_db_locs_parser.add_argument('--description_db_loc', default=None,
13 changes: 9 additions & 4 deletions recipes/dram/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set name = "DRAM" %}
{% set pypi_name = "DRAM-bio" %}
{% set version = "1.4.6" %}
{% set sha256 = "f014c55d7e75433bfc029dc20092df6eb9fb5a565dc60d6e7934d0261f36f945" %}
{% set version = "1.5.0" %}
{% set sha256 = "2d4a503fa806e33b580afb6d21879b2399178e48ba3b05ada882449fee571889" %}

package:
name: {{ name|lower }}
Expand All @@ -10,15 +10,20 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ pypi_name }}/{{ pypi_name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
patches:
# https://github.com/WrightonLabCSU/DRAM/issues/339
- fix_setup.patch

build:
number: 2
number: 0
noarch: python
script: "{{ PYTHON }} -m pip install . -vv"
run_exports:
- {{ pin_subpackage(name|lower, max_pin="x") }}

requirements:
host:
- python >=3.6
- python >=3.8
- pip
run:
- python >=3.8
Expand Down