Mercurial > repos > jpayne > seqsero2s
annotate SeqSero2S/setup.py @ 20:4dbbf92ff30a draft
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895-dirty
| author | jpayne |
|---|---|
| date | Fri, 15 May 2026 17:55:16 +0000 |
| parents | cfc91e1d2c9b |
| children |
| rev | line source |
|---|---|
|
19
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
1 import os, sys |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
2 from distutils.core import setup |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
3 from setuptools import find_packages |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
4 |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
5 def readme(): |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
6 with open('README.md') as f: |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
7 return f.read() |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
8 |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
9 setup(name='SeqSero2S', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
10 #version=open("version.py").readlines()[-1].split()[-1].strip("\"'"), |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
11 version='1.1.4', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
12 description='Salmonella serotyping', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
13 long_description=readme(), |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
14 classifiers=[ |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
15 'Development Status :: 3 - Alpha', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
16 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
17 'Programming Language :: Python :: 3', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
18 'Topic :: Text Processing :: Linguistic', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
19 ], |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
20 keywords='Salmonella serotyping bioinformatics WGS', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
21 url='https://github.com/denglab/SeqSero2S/', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
22 author='Shaokang Zhang, Hendrik C Den-Bakker and Xiangyu Deng', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
23 author_email='zskzsk@uga.edu, Hendrik.DenBakker@uga.edu, xdeng@uga.edu', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
24 license='GPLv2', |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
25 scripts=["bin/deinterleave_fastq.sh","bin/Initial_Conditions_SS2S.py","bin/Initial_Conditions_SS2.py","bin/SeqSero2S.py","bin/SeqSero2_update_kmer_database.py"], |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
26 packages=[""], |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
27 include_package_data = True, |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
28 install_requires=['biopython~=1.73'], |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
29 data_files=[("seqsero2s_db",["seqsero2s_db/mlst.pickle","seqsero2s_db/antigens.pickle","seqsero2s_db/H_and_O_and_specific_genes.fasta","seqsero2s_db/invA_mers_dict","seqsero2s_db/special.pickle"]),("seqsero2s_db/kmer",["seqsero2s_db/kmer/salmonella_35.txt","seqsero2s_db/kmer/salmonella_config.txt","seqsero2s_db/kmer/salmonella_hemD.tfa","seqsero2s_db/kmer/salmonella.log","seqsero2s_db/kmer/salmonella_purE.tfa","seqsero2s_db/kmer/salmonella_thrA.tfa","seqsero2s_db/kmer/salmonella_aroC.tfa","seqsero2s_db/kmer/salmonella_dnaN.tfa","seqsero2s_db/kmer/salmonella_hisD.tfa","seqsero2s_db/kmer/salmonella_profile.txt","seqsero2s_db/kmer/salmonella_sucA.tfa","seqsero2s_db/kmer/salmonella_weight.txt"])], |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
30 zip_safe=False, |
|
cfc91e1d2c9b
planemo upload commit 936a627c4fc706080f07ec678f89e8256a7e7895
jpayne
parents:
diff
changeset
|
31 ) |
