Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
7f7da8c
updated documentation
tyjo Feb 13, 2021
ba9a956
read positions must be integer type
tyjo Feb 15, 2021
f399de3
separate relative abundance from read cound calculation
tyjo Feb 25, 2021
69a0e7e
Merge branch 'master' of https://github.com/tyjo/coptr
tyjo Feb 25, 2021
2bebed4
throw error on possible mislabeled contigs
tyjo Mar 4, 2021
881e67e
refactor: create package in src directory
Midnighter Jun 22, 2021
3379d23
refactor: move CLI into package
Midnighter Jun 22, 2021
53de2ec
chore: add editor configuration
Midnighter Jun 22, 2021
17b6e3c
chore: add configuration and setup
Midnighter Jun 22, 2021
b06a89d
chore: add gitignore config
Midnighter Jun 22, 2021
df3415c
fix: make package imports relative, optimize all
Midnighter Jun 22, 2021
048b8ea
chore: remove useless src-paths
Midnighter Jun 22, 2021
55dfb65
style: apply black formatting
Midnighter Jun 22, 2021
c77b6e9
docs: add short description
Midnighter Jun 22, 2021
e137bad
chore: enable Python 3.6
Midnighter Jun 23, 2021
aa5df4b
fix: use a function as entry point
Midnighter Jun 23, 2021
f0cc668
update import path for test files
tyjo Jun 24, 2021
da61223
environment yml file name should make name of environment created
tyjo Jun 24, 2021
d69357d
updated docs to reflect new installation, updated path for autodoc
tyjo Jun 24, 2021
5c5a71d
coptr.py -> coptr
tyjo Jun 24, 2021
735828f
moved version number
tyjo Jun 24, 2021
40b0726
added version numbers to packages; added version number for coptr; se…
tyjo Jun 24, 2021
b40b357
updated docs
tyjo Jun 25, 2021
2e103b1
Merge pull request #4 from UnseenBio/package
tyjo Jun 25, 2021
aa4c8a4
Merge branch 'master' of https://github.com/tyjo/coptr
tyjo Jun 25, 2021
eb2fd30
style: apply isort & black
Midnighter Jun 27, 2021
00f9df5
refactor: replace `rm` subprocess calls
Midnighter Jun 27, 2021
7b00bdf
refactor: introduce logging to the read mapper
Midnighter Jun 23, 2021
01f0ba4
refactor: add logging to the cli module
Midnighter Jun 27, 2021
8e83f76
refactor: add logging to bam_processor module
Midnighter Jun 27, 2021
038c89d
refactor: add logging to compute_read_counts module
Midnighter Jun 27, 2021
b1a9e50
refactor: add logging to compute_rel_abun module
Midnighter Jun 27, 2021
59b0d6f
refactor: add logging to coptr_contig module
Midnighter Jun 27, 2021
7c5426a
refactor: add logging to coptr_ref module
Midnighter Jun 27, 2021
cd6d496
refactor: add logging to poisson_pca module
Midnighter Jun 27, 2021
5b31ebf
refactor: add logging to read_assigner module
Midnighter Jun 27, 2021
0783556
refactor: remove superfluous print module
Midnighter Jun 27, 2021
f9b65d8
style: isort imports
Midnighter Jun 27, 2021
b598c04
refactor: '%s' -> %s, add time to logging, calls to format require br…
tyjo Jun 28, 2021
f6fee14
docs: updated tutorial with new logging calls
tyjo Jun 28, 2021
36eb7a8
updated README
tyjo Jul 1, 2021
1b9d829
bug fix: updated call to run_vi
tyjo Jul 23, 2021
f0bcddc
catch exception and throw warning when poisson pca fails
tyjo Aug 17, 2021
f06bb58
remove multiprocessing option: memory limits on mp outweigh performan…
tyjo Aug 20, 2021
ecc79a6
updated docs
tyjo Aug 27, 2021
3a937bb
updated docs
tyjo Aug 27, 2021
9ece9cc
better help message for the --plot argument
tyjo Aug 27, 2021
e13eb68
relaxed filtering criteria for CoPTR-Contig
tyjo Oct 10, 2021
68f6659
bux fix: invalid format string for logger
tyjo Apr 7, 2022
e826cd8
output oriC predictions for complete reference genomes; output bin or…
tyjo Feb 12, 2021
730d2b3
fixes to make it work
cdiener May 11, 2022
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
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Editor Configuration (http://editorconfig.org)
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 88

[*.{json,yml}]
indent_size = 2

[*.{md,rst}]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
209 changes: 209 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

### macOS template
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Linux template
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### Windows template
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Our documentation is on Read The Docs: <https://coptr.readthedocs.io>
CoPTR is a tool for estimating peak-to-trough ratios from metagenomic sequencing.

You can find our documentation on Read The Docs: <https://coptr.readthedocs.io>
Loading