Skip to content

Commit

Permalink
Merge branch 'main' into 413-add-msi-measure
Browse files Browse the repository at this point in the history
  • Loading branch information
ericblanc20 authored Feb 28, 2024
2 parents c13145e + fab3e36 commit 958fbc9
Show file tree
Hide file tree
Showing 167 changed files with 9,341 additions and 2,239 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.fastq.gz filter=lfs diff=lfs merge=lfs -text
*.fasta filter=lfs diff=lfs merge=lfs -text
*.fasta.* filter=lfs diff=lfs merge=lfs -text
snappy_pipeline/_version.py export-subst
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"

- name: Install dependencies
run: |
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.10"

- name: Install dependencies
run: |
Expand All @@ -75,10 +75,9 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
# - "3.11" # no compatible pysam yet
# - "3.12" # no compatible pysam yet
needs: linting
steps:
- name: Install Python via conda
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Pipfiles created by VC Code
/Pipfile*

# Mac
.*DS_Store

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.7, 3.8 and 3.9, and for PyPy. Check
3. The pull request should work for the Python versions from ``setup.py``. Check
https://travis-ci.org/holtgrewe/cubi_piepline/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand Down
3 changes: 3 additions & 0 deletions docs/dev_intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ Usually, you define a :class:`BaseStep <snappy_pipeline.workflows.abstract.BaseS
The current configuration is passed into the constructor of this class and it then "takes over" and applies default setting, generating cluster resource settings, etc.
Then, you pass the result of method calls to your :class:`BaseStep <snappy_pipeline.workflows.abstract.BaseStep>` instance as the values for the ``input:``, ``output:``, etc. sections of your ``Snakefile``.

.. warning::
By convention your new Workflow step should be instantiated as ``wf = StepClass(...)`` in the ``Snakefile`` during object setup. Otherwise tools including cubi-tk might not be able to detect and parse your step. See existing workflow ``Snakefile`` for reference.

The :class:`BaseStep <snappy_pipeline.workflows.abstract.BaseStep>` sub class itself uses :class:`BaseStepPart <snappy_pipeline.workflows.abstract.BaseStepPart>` sub classes for the implementation of the individual parts.
One part might be linking in FASTQ files from the raw input directory or linking from the ``work/`` to the ``output/`` directory.
Another part might be the somatic variant calling using mutect or WGS SV calling using Delly2.
Expand Down
1 change: 1 addition & 0 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pytest
coverage
pytest-cov
pytest-mock
pytest-subprocess

# Fake file system for testing
pyfakefs
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ line_length = 100
exclude =
docs
tests
venv
.*.py
.snakemake.*.wrapper.py
splitMNPsAndComplex.py
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ def bash_scripts(names):
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
# We are missing bioconda pysam packages for 3.11 and 3.12, cf.
# https://github.com/bioconda/bioconda-recipes/issues/37805
# "Programming Language :: Python :: 3.11",
# "Programming Language :: Python :: 3.12",
],
test_suite="tests",
tests_require=test_requirements,
Expand Down
4 changes: 4 additions & 0 deletions snappy_pipeline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
__email__ = "[email protected]"
__version__ = "master"
# del get_versions

from . import _version

__version__ = _version.get_versions()["version"]
Loading

0 comments on commit 958fbc9

Please sign in to comment.