Python script calculating transposable element density for all genes in a genome. Publication: https://mobilednajournal.biomedcentral.com/articles/10.1186/s13100-022-00264-4
remove tables (PyTables) + tables causes dependency conflicts when upgrading + was only used to do panda/numpy conversion, which was removed
add initial setup.py + to allow installation via pip install
add process_genome.py as a script under setup.py + to export the command line tool if installed as above
move requirements to root to match documentation
test on cpython 3.10 and 3.11.3+
update readme to be more explicit for installation
DISCUSSION
I wanted to try 3.11.3 and had it compiled on my machine for another project, and you removed the tables requirement, so I went ahead and updated the dependencies and gave it a shot.
Running the system test didn't show any significant differences wrt execution time, but we could profile cpu / memory usage more precisely in the future.
I also remembered that a few users had some issues installing the dependencies, so I added the setup.py and fleshed out the readme/installation.
(Note that the setup.py has more generic dependencies than requirements.txt.)
TESTING
does the installation section of the readme make sense?
vim README.md
can you install using the setup.py?
[13:49 GOKU]:/tmp
[ins]▸$ mkvirtualenv test
created virtual environment CPython3.11.3.final.0-64 in 169ms
...
(test) [13:49 GOKU]:/tmp
[cmd]▸$ pip install 'te-density @ git+https://github.com/sjteresi/TE_Density.git@f/setup.py'
Collecting te-density@ git+https://github.com/sjteresi/TE_Density.git@f/setup.py
...
does process_genome show up as a script when installed this way?
DISCUSSION
I wanted to try 3.11.3 and had it compiled on my machine for another project, and you removed the
tables
requirement, so I went ahead and updated the dependencies and gave it a shot.Running the system test didn't show any significant differences wrt execution time, but we could profile cpu / memory usage more precisely in the future.
I also remembered that a few users had some issues installing the dependencies, so I added the
setup.py
and fleshed out the readme/installation.(Note that the
setup.py
has more generic dependencies thanrequirements.txt
.)TESTING
does the installation section of the readme make sense?
can you install using the setup.py?
does process_genome show up as a script when installed this way?
do the tests pass?
does the system test run?