Skip to content

Commit

Permalink
rename to rgi
Browse files Browse the repository at this point in the history
  • Loading branch information
VinzentRisch committed Sep 30, 2024
1 parent 3888541 commit db3369e
Show file tree
Hide file tree
Showing 148 changed files with 120 additions and 245 deletions.
6 changes: 3 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[run]
source=q2_amr
source=q2_rgi
branch = True
omit =
*/tests*
*/__init__.py
q2_amr/_version.py
q2_rgi/_version.py
versioneer.py

[report]
fail_under = 90
omit =
*/tests*
*/__init__.py
q2_amr/_version.py
q2_rgi/_version.py
versioneer.py
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
q2_amr/_version.py export-subst
q2_rgi/_version.py export-subst
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ dmypy.json

# PyCharm configuration
.idea/
/q2_amr/charts_testing.py
/q2_rgi/charts_testing.py
/index.html
/bwt_test_file.py
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include versioneer.py
include q2_amr/_version.py
include q2_rgi/_version.py
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# q2-amr
![CI](https://github.com/bokulich-lab/q2-amr/actions/workflows/ci-dev.yaml/badge.svg)
[![codecov](https://codecov.io/gh/bokulich-lab/q2-amr/branch/main/graph/badge.svg?token=THMBOFUZR0)](https://codecov.io/gh/bokulich-lab/q2-amr)
# q2-rgi
![CI](https://github.com/bokulich-lab/q2-rgi/actions/workflows/ci-dev.yaml/badge.svg)
[![codecov](https://codecov.io/gh/bokulich-lab/q2-rgi/branch/main/graph/badge.svg?token=THMBOFUZR0)](https://codecov.io/gh/bokulich-lab/q2-rgi)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

QIIME 2 plugin for antimicrobial resistance gene annotation of MAGs and metagenomic reads.

## Installation
To install _q2-amr_, follow the steps described below.
To install _q2-rgi_, follow the steps described below.

<details>
<summary><b>macOS (intel) / Linux</b></summary>

```shell
mamba create -yn q2-amr \
mamba create -yn q2-rgi \
-c https://packages.qiime2.org/qiime2/2024.2/shotgun/released/ \
-c qiime2 -c conda-forge -c bioconda -c defaults \
qiime2 q2cli q2templates q2-types q2-feature-table q2-demux rgi tqdm

conda activate q2-amr
conda activate q2-rgi

pip install --no-deps --force-reinstall \
git+https://github.com/misialq/rgi.git@py38-fix \
git+https://github.com/bokulich-lab/q2-amr.git
git+https://github.com/bokulich-lab/q2-rgi.git
```

Refresh cache and check that everything worked:
Expand All @@ -35,17 +35,17 @@ qiime info
<summary><b>macOS (apple silicon)</b></summary>

```shell
CONDA_SUBDIR=osx-64 mamba create -yn q2-amr \
CONDA_SUBDIR=osx-64 mamba create -yn q2-rgi \
-c https://packages.qiime2.org/qiime2/2024.2/shotgun/released/ \
-c qiime2 -c conda-forge -c bioconda -c defaults \
qiime2 q2cli q2templates q2-types q2-feature-table q2-demux rgi tqdm

conda activate q2-amr
conda activate q2-rgi
conda config --env --set subdir osx-64

pip install --no-deps --force-reinstall \
git+https://github.com/misialq/rgi.git@py38-fix \
git+https://github.com/bokulich-lab/q2-amr.git
git+https://github.com/bokulich-lab/q2-rgi.git
```

Refresh cache and check that everything worked:
Expand Down
8 changes: 4 additions & 4 deletions ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set version = data.get('version') or 'placehold' %}

package:
name: q2-amr
name: q2-rgi
version: {{ version }}

source:
Expand Down Expand Up @@ -32,12 +32,12 @@ test:
- coverage
- pytest-cov
imports:
- q2_amr
- q2_rgi
- qiime2.plugins.amr
commands:
- pytest --cov q2_amr --cov-report xml:coverage.xml --pyargs q2_amr
- pytest --cov q2_rgi --cov-report xml:coverage.xml --pyargs q2_rgi

about:
home: https://github.com/bokulich-lab/q2-amr
home: https://github.com/bokulich-lab/q2-rgi
license: BSD-3-Clause
license_family: BSD
Binary file removed q2_amr/card/tests/data/output.sorted.length_100.bam
Binary file not shown.

This file was deleted.

2 changes: 0 additions & 2 deletions q2_amr/card/tests/data/reads_paired/MANIFEST

This file was deleted.

2 changes: 0 additions & 2 deletions q2_amr/card/tests/data/reads_single/MANIFEST

This file was deleted.

1 change: 0 additions & 1 deletion q2_amr/card/tests/data/reads_single/metadata.yml

This file was deleted.

Binary file removed q2_amr/card/tests/data/wildcard_data.tar.bz2
Binary file not shown.
71 changes: 0 additions & 71 deletions q2_amr/types/__init__.py

This file was deleted.

7 changes: 0 additions & 7 deletions q2_amr/types/tests/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions q2_amr/types/tests/data/DNA_fasta_-.fasta

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion q2_amr/types/tests/data/card_test.json

This file was deleted.

Loading

0 comments on commit db3369e

Please sign in to comment.