Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Base Count Coverage Depth #7

Merged
merged 72 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
926ad17
update add vs code to gitignore
gordonkoehn Sep 5, 2024
f66a694
added general package structure + add missing setuptools
gordonkoehn Sep 5, 2024
6f11489
add basecnt_cov_depth untested
gordonkoehn Sep 5, 2024
255e388
add basic workflow
gordonkoehn Sep 5, 2024
70f8828
add environments file for workflows
gordonkoehn Sep 5, 2024
6fb15fa
fixing python version
gordonkoehn Sep 5, 2024
2061160
fixing snakemake version
gordonkoehn Sep 5, 2024
2f82e21
fixing snakemake version
gordonkoehn Sep 5, 2024
443fbb2
test ready script 1
gordonkoehn Sep 6, 2024
7a73c8f
downgrade python version to be widly compatible
gordonkoehn Sep 6, 2024
7e53a07
not fogeting the env file
gordonkoehn Sep 6, 2024
722baca
minor notes
gordonkoehn Sep 9, 2024
5f9fa90
fit interrogate
gordonkoehn Sep 9, 2024
45c326d
minor notes
gordonkoehn Sep 9, 2024
dc1b011
changing python version to 11
gordonkoehn Sep 9, 2024
3bb8be5
fixing imports
gordonkoehn Sep 9, 2024
564d109
american english typo
gordonkoehn Sep 9, 2024
8ccea6d
missing import
gordonkoehn Sep 9, 2024
a0c2026
path
gordonkoehn Sep 9, 2024
82d8349
test params
gordonkoehn Sep 9, 2024
e6ee0c4
test params
gordonkoehn Sep 9, 2024
b736394
test params
gordonkoehn Sep 9, 2024
3a3d140
test params
gordonkoehn Sep 9, 2024
417d91c
test params
gordonkoehn Sep 9, 2024
bc6550a
pro forma commenting
gordonkoehn Sep 9, 2024
c6fc9cd
removing legacy scipts from codebase
gordonkoehn Sep 9, 2024
00a55a5
black fromating
gordonkoehn Sep 9, 2024
d6656e5
fixing project structure
gordonkoehn Sep 9, 2024
02c74c2
adding pandas-stubs for pyright checking
gordonkoehn Sep 9, 2024
79c2730
fix minor none type error
gordonkoehn Sep 9, 2024
b1aaaa8
removing old comments
gordonkoehn Sep 9, 2024
e0eea3c
fixing src path
gordonkoehn Sep 9, 2024
f943deb
removing some unused code / adding TODOs
gordonkoehn Sep 9, 2024
c702f9e
add options to extract_sample_ID
gordonkoehn Sep 10, 2024
e3d9c26
bringing params to the surface
gordonkoehn Sep 10, 2024
93a41c7
typo
gordonkoehn Sep 10, 2024
14a2a91
fixing datetime
gordonkoehn Sep 10, 2024
9aaf222
renaming datadir + descriptions
gordonkoehn Sep 10, 2024
1639074
minor comments
gordonkoehn Sep 10, 2024
e94afb9
adding in total coverage script
gordonkoehn Sep 10, 2024
2daf4be
input
gordonkoehn Sep 10, 2024
6479aa7
fixing the inputs
gordonkoehn Sep 10, 2024
35eaeb1
cleaning up run_total_coverage_depth()
gordonkoehn Sep 10, 2024
e59ed04
converage.py
gordonkoehn Sep 10, 2024
2d14826
fixing broken imports
gordonkoehn Sep 10, 2024
046fbc9
cleaning up extract_mutation_position
gordonkoehn Sep 10, 2024
82f87ec
adding params to total_coverage
gordonkoehn Sep 10, 2024
8c04e10
init fix
gordonkoehn Sep 10, 2024
67523bb
workign in
gordonkoehn Sep 10, 2024
40ca944
fixing formating black
gordonkoehn Sep 10, 2024
73690c7
reformat comments
gordonkoehn Sep 10, 2024
eb433ef
adding in freq mat mut stats
gordonkoehn Sep 10, 2024
c023955
minor bug
gordonkoehn Sep 10, 2024
edf880a
adding logging
gordonkoehn Sep 10, 2024
ec0c9cd
adding back in labels
gordonkoehn Sep 10, 2024
53576ba
removing tests - as not data there to show
gordonkoehn Sep 11, 2024
796cf3d
add workflows/readme
gordonkoehn Sep 11, 2024
ffb166b
add location params
gordonkoehn Sep 11, 2024
60ecf37
Zürich rule
gordonkoehn Sep 11, 2024
fce7f62
fix stringmatching
gordonkoehn Sep 11, 2024
2e89368
add outdir
gordonkoehn Sep 11, 2024
16e4872
add basecnt_coverage_depth location wildcard
gordonkoehn Sep 11, 2024
e0adc2d
wildcard fix
gordonkoehn Sep 11, 2024
60da915
abstracting date / enddate
gordonkoehn Sep 11, 2024
2e3b8aa
adding wildcard constrrains
gordonkoehn Sep 11, 2024
5af0acd
typo in wildcard constraints
gordonkoehn Sep 11, 2024
03855e5
remove double slash
gordonkoehn Sep 11, 2024
af6adca
wildcard 3
gordonkoehn Sep 11, 2024
11aee14
fixing ambiguiety
gordonkoehn Sep 11, 2024
6ca9d22
cleanup fiy typo enddate
gordonkoehn Sep 11, 2024
75101e4
add back in test pro forma
gordonkoehn Sep 11, 2024
acf98e5
fix 4
gordonkoehn Sep 11, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
python-version: "3.11.2"
cache: "pip"
- name: Install Poetry
uses: snok/install-poetry@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.12"]
python-version: ["3.11.2"]
poetry-version: ["1.8.3"]

steps:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.DS_Store
poetry.lock
.vscode/
__pycache__/
*.pyc
12 changes: 12 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: usefulgnom
# Conda/Mamba environment file,
# to be used when running the snakemake pipeline,
# see workflow/README.md
channels:
- bioconda
- conda-forge
- defaults
dependencies:
- python=3.11.2
- snakemake=8.18.2
- poetry=1.8.3
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ version = "0.1.0"
description = "Viral Genomic Utilities"
authors = ["Gordon Julian Koehn <[email protected]>"]
readme = "README.md"
packages = [{include = "usefulgnom", from = "src"}]

[tool.poetry.dependencies]
python = "^3.12"
python = "^3.11.2"
pandas = "^2.2.2"
matplotlib = "^3.9.2"
seaborn = "^0.13.2"

pandas-stubs = "^2.2.2.240807"

[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
Expand All @@ -25,6 +26,7 @@ mkdocs-material = "^9.1.6"
mkdocstrings = {extras = ["python"], version = "^0.21.2"}
mkdocs-gen-files = "^0.4.0"
mkdocs-literate-nav = "^0.6.0"
setuptools = "^74.1.2"

[tool.coverage.report]
fail_under = 85.0
Expand Down
128 changes: 0 additions & 128 deletions scripts/basecnt_cov_dep.py

This file was deleted.

165 changes: 0 additions & 165 deletions scripts/freq_mat_mut_stats.py

This file was deleted.

Loading
Loading