Skip to content

Commit

Permalink
Merge pull request #7 from jordanlab/v1.1.2
Browse files Browse the repository at this point in the history
Update `tagore` packaging to best practices
  • Loading branch information
ar0ch authored Dec 23, 2022
2 parents a651da9 + d3fc561 commit ffbabc1
Show file tree
Hide file tree
Showing 12 changed files with 528 additions and 359 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
```bash
pip install tagore
tagore --version
# tagore (version 1.0.1)
# tagore (version 1.1.2)
```

### Requirements
Expand Down Expand Up @@ -60,13 +60,13 @@ Helper scripts for converting RFMix and ADMIXTURE outputs are included in the `s
A more complete example of a full chromosome painting using an RFMix output can be seen by running:

```bash
./scripts/rfmix2tagore.py --chr1 example_ideogram/1KGP-MXL104_chr1.bed \
rfmix2tagore --chr1 example_ideogram/1KGP-MXL104_chr1.bed \
--chr2 example_ideogram/1KGP-MXL104_chr2.bed \
--out example_ideogram/1KGP-MXL104_tagore.bed

tagore --input example_ideogram/1KGP-MXL104_tagore.bed \
--prefix example_ideogram/1KGP-MXL104 \
--build hg37
--build hg37 \
--verbose

```
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
49 changes: 0 additions & 49 deletions scripts/rfmix2tagore.py

This file was deleted.

43 changes: 43 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[metadata]
name = tagore
version = 1.1.2
author = Applied Bioinformatics Laboratory
author_email = abil@ihrc.com
description = A simple way to visualize features on human chromosome ideograms
keywords =
Human
chromosome
ideogram
visualization
url = https://github.com/jordanlab/tagore
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: MacOS
Operating System :: POSIX
Environment :: Console
Development Status :: 5 - Production/Stable
Topic :: Scientific/Engineering :: Visualization

[options]
name = tagore
packages = find_namespace:
include_package_data = True
install_requires = click
python_requires = >=3.6
# scripts = tagore/scripts/rfmix2tagore.py

[options.packages.find]
where=src
exclude=tagore.tests*

[options.entry_points]
console_scripts =
tagore = tagore.main:run
rfmix2tagore = tagore.scripts.rfmix2tagore:main


[options.package_data]
* = *.svg.p
30 changes: 0 additions & 30 deletions setup.py

This file was deleted.

1 change: 1 addition & 0 deletions src/tagore/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# from . import run
File renamed without changes.
Loading

0 comments on commit ffbabc1

Please sign in to comment.