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

Update to version 1.1.0 #229

Merged
merged 27 commits into from
Jul 21, 2021
Merged

Update to version 1.1.0 #229

merged 27 commits into from
Jul 21, 2021

Conversation

mumichae
Copy link
Collaborator

mumichae and others added 21 commits May 12, 2021 05:18
* remove unnecessary DNA_ID for export counts

* updated bumversion config

* Bump version: 1.0.3 → 1.0.4
* outrider saving results simplified

* fraser saving results simplified

* fraser saving results simplified

* paths in header

Co-authored-by: Vicente <yepez@in.tum.de>
Co-authored-by: Michaela Mueller <51025211+mumichae@users.noreply.github.com>
Better error handling if the GATK ASECounter fails to count the reads.
Fix dependency graph fails by ignoring print stateme
* using micromamba Github action

* renamed micromamba step

* micromamba run working locally

* add missing changes to github actions

* include genome in test installation
* hard cutoff of 1000 entries for results viewing

* change formatting for MAE results

* change MAE format

* simplified html truncation syntax

* Update Summary.R

* Update Summary.R

* Update Results.R

* Update Summary.R

* update caption message

* typo fixed

Co-authored-by: Michaela Mueller <mumichae@in.tum.de>
Co-authored-by: Michaela Mueller <51025211+mumichae@users.noreply.github.com>
* Turn off analysis for Analysis scripts html based on config

* Renamed sample annotation variable and reformatted files

* pass working directory to DropConfig and Submodule objects

* Revert "Merge branch 'dep_graph_fix' into separate_modules"

This reverts commit 8a3c1aa, reversing
changes made to 0c8ae7f.

* add run param to AS and MAE overviews

* update library calls for Overview.R

* create dummy files via sampleParams

* AberrantSplicing Overview.R is defined by function

* AberrantSplicing should be based on function. but not being recognized

* fuctions not working

* fixed html output indent

* fixed typo and order of snakemake includes

* remove duplicated (copy paste error) line

* fix MAE typos

* move preprocessing used in AE and AS to Pipeline and save to processedDataDir/preprocess

* change Scripts/module names based on cfg.run. Also update cli to remove hidden files.

* update conftest

* update error message and tests

* update cli to better handle hidden module paths

* re-copy Scripts path

* fix dummy files to be module specific, update tests

* remove self from pipeline_test

* remove test typo

* changes based on code review

* renamed getSnakefile

* hard cutoff of 1000 entries for results viewing

* Cleaned up HTML scripts with generic functions

* change formatting for MAE results

* update test to include working path

* cleaned up Monoallelic HTML script

* update some docs, add warning message

Co-authored-by: Michaela Mueller <mumichae@in.tum.de>
Co-authored-by: Smith Nicholas <smith@in.tum.de>
* update docs

* table syntax

* Update prepare.rst

* update docs

* Update pipeline.rst
* skip checks if run:false

* add comments
nickhsmith
nickhsmith previously approved these changes Jul 16, 2021
Copy link
Collaborator

@nickhsmith nickhsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me. Should be a useful bump

index_name=MAE_index_name
)
MAE_WORKDIR = cfg.MAE.renameLocalDir()
MAE_index_input,MAE_graph_file,MAE_index_output = cfg.MAE.getModuleIndexFiles("mae-pipeline",MAE_WORKDIR)

rule mae:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this could be moved up to the all rule by having there if-else statements of what to include. This could ease a lot of code.

tests/pipeline/test_AE.py Outdated Show resolved Hide resolved
tests/pipeline/test_AS.py Outdated Show resolved Hide resolved
tests/pipeline/test_MAE.py Outdated Show resolved Hide resolved
tests/pipeline/test_MAE.py Outdated Show resolved Hide resolved
tests/pipeline/test_pipeline.py Outdated Show resolved Hide resolved
# change all "run: true" config values to "run: false" and save result into new config file
# runthe pipeline with each module turned off
run("sed 's/run: true/run: false/g' config.yaml > config_norun.yaml ",demo_dir)
pipeline_run = run(["snakemake", f"-j{CORES}", "--configfile", "config_norun.yaml"], demo_dir)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this test make sense here? Everything should be done anyway. So we should rather turn it around and test first if I can switch on a module and then run it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same goes for the other parts.

c-mertes
c-mertes previously approved these changes Jul 21, 2021
@c-mertes c-mertes requested review from c-mertes and removed request for nickhsmith and vyepez88 July 21, 2021 07:08
@c-mertes c-mertes merged commit bf2eb91 into master Jul 21, 2021
nickhsmith added a commit that referenced this pull request Aug 11, 2021
* Update to version 1.1.0 (#229)

Major changes included in this update is:
* adapt to new snakemake version (#208)
* Speedup CI (use micromamba, #218)
* Add HTML cutoff for results (#217)
* Separate modules (#209)
* Update documentation (#228)

On top of this many small bug-fixes are included:
* #175 #192 #198 #231
* Simplify result reporting


Co-authored-by: Vicente Yepez <30469316+vyepez88@users.noreply.github.com>
Co-authored-by: Vicente <yepez@in.tum.de>
Co-authored-by: Michaela Mueller <51025211+mumichae@users.noreply.github.com>
Co-authored-by: Michaela Mueller <mumichae@in.tum.de>
Co-authored-by: Smith Nicholas <smith@in.tum.de>
Co-authored-by: nickhsmith <smithnickh@gmail.com>
Co-authored-by: Christian Mertes <mertes@in.tum.de>

* add splitting to MAE filterSNVs.sh

* fix broken link and maxVarFreqCohort

* fix broken link and maxVarFreqCohort

* Update test_MAE.py

* code review fixes

Co-authored-by: Michaela Mueller <51025211+mumichae@users.noreply.github.com>
Co-authored-by: Vicente Yepez <30469316+vyepez88@users.noreply.github.com>
Co-authored-by: Vicente <yepez@in.tum.de>
Co-authored-by: Michaela Mueller <mumichae@in.tum.de>
Co-authored-by: Smith Nicholas <smith@in.tum.de>
Co-authored-by: Christian Mertes <mertes@in.tum.de>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants