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

Pipeline release v2.0 #245

Merged
merged 42 commits into from
Nov 24, 2021
Merged

Pipeline release v2.0 #245

merged 42 commits into from
Nov 24, 2021

Conversation

Vlad-Dembrovskyi
Copy link
Contributor

@Vlad-Dembrovskyi Vlad-Dembrovskyi commented Jul 23, 2021

v 2.0 - Pipeline improvements

Improvements:

Fixes:

Updates:

Maintenance:

  • Consideably reduces number of basic redundant CI tests by removing completely the max_retries matrix and push from on: [push, pull_request]
  • Adds CI test for sra-downloading pipeline pathway (only supported with docker profile for now) (Adds sra test #253)

To test

Pull the repository

git clone https://github.com/TheJacksonLaboratory/splicing-pipelines-nf
cd splicing-pipelines-nf
git checkout dev

Run the test profile with docker

NXF_VER=20.01.0 nextflow run . -profile ultra_quick_test,docker

image

Tested on sumner (JAX HPC) and approved by @angarb here: link

Vlad-Dembrovskyi and others added 17 commits July 22, 2021 21:37
* Adds --cleanup option to clean work directory

* Adds explanatory comment to config for cleanup option

* Adds "Workdir cleanup" param to pipeline summary

* Adds --cleanup option description to help message

* Adds --cleanup option description to usage.md

* Adds singularity check in ci.yml (#240)

* Adds local singularity profile (#239)

* Adds profile to run with singularity locally

* Adds docks on how to run the pipeline locally

* Adds link to new docs to README.md

* Renames profile to singularity

* Adds singularity check in ci.yml (#240)

* Renames singularity_local -> singularity everywhere

Co-authored-by: cgpu <[email protected]>

* Adds workflow.onComplete notifications

* Reduces ci tests (#241)

* Reduces ci tests to only run on pull_request, not push

* Reduces ci tests to only run with max_retries: 1

* Updates ci test nextflow version 19.04.0 -> 20.01.0

* Removes max_retries matrix option from ci tests

Co-authored-by: cgpu <[email protected]>
* Adds trimmomatic logs to multiqc report

* Puts Trimmomatic above STAR in MultiQC report
Best solution to #246 is to update documentation.
Adding some clarification to address #247
Adding the description to run pipeline with bams.csv to documentation
* Implements .command.* save in results/

* Cherry-pick residue removal

* Updates ci strategy to fail-fast: false

* Fix for "Unknown method `optional` on FileInParam type"

The mistake was I pasted in the input instead of the output directive
The failed ci is here:
https://github.com/TheJacksonLaboratory/splicing-pipelines-nf/pull/251/checks?check_run_id=3419423845#step:5:51

* Adds ${task.process} in command-log results naming

* Adds publishDir pattern: negation for logs in all results

* Adds tree view step for verifying results

* Removes install tree [already available] [docker]

* Removes install tree [already available] [singularity]

* Improves folder structure per sample for logs

* Keeps only .command.log, .command.sh, .command.err

* Adds config param (CloudOS configs)

* Removes redundancy of .bw files in  star_mapped folder

After feedback from @angarb who spotted this redundancy,
we are removing the .bw file from the ${SRR}/<all-files> folder
and keeping it only in ${SRR}/<all-files>/all_bigwig only

├── star_mapped
│   ├── SRR4238351
│   │   ├── SRR4238351.Aligned.sortedByCoord.out.bam
│   │   ├── SRR4238351.Aligned.sortedByCoord.out.bam.bai
│   │   ├── SRR4238351.Log.final.out
│   │   ├── SRR4238351.Log.out
│   │   ├── SRR4238351.Log.progress.out
│   │   ├── SRR4238351.ReadsPerGene.out.tab
│   │   ├── SRR4238351.SJ.out.tab
│   │   ├── SRR4238351.Unmapped.out.mate1
│   │   └── SRR4238351.bw
│   └── all_bigwig
│       ├── SRR4238351.bw

* Sets fail-fast strategy to false in singularity CI

Complementary commit of 09b8787

* Fix for indentation
* Fixes *_data/* files not being saved for multiqcs step

* Fixes sample_lst.txt not being saved for prep_de step

* Fixes no files being saved for stringtie_merge step

* Fix prep_de step input

* Saves tmp/*_read_outcomes_by_bam.txt in both rmats proc
* Adds SRA test profile

* Adds sra_test to ci tests

* Changes CI strategy to fail-fast:false

* CI syntax fix [previous commit]

* Parameterises echo in process scope

* Adds echo true for ci debugging

* Fixes sra-toolkit run with singularity

* Change sra example file to a really small one

* Revert the main container version to the newer one

* Removes commented unnecessary docker.runOptions line

* Removes failing sra_test ci test for singularity

* Fix star step in ci test

* Makes more robust star issue solution

* Returns errorStrategy = 'finish'

Co-authored-by: cgpu <[email protected]>
Accidentally edited this file.
* Parametrizes error strategy

* Adds error_strategy parameter to usage.md docs

* Update log.info to show actual errorStrategy value

* Fix typo
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
* Fixes containers being overwritten by google.config

* Parametrize google options
@Vlad-Dembrovskyi
Copy link
Contributor Author

@Vlad-Dembrovskyi
Copy link
Contributor Author

Vlad-Dembrovskyi and others added 6 commits October 28, 2021 09:47
* [DEL 3039] Implement ftp download for SRA accessions (#2)

* add option for read download through FTP

* fix ftp path

* update information on download_from param

* Update run_on_sumner.md

* Fix FTP link generation; add test configs for both pair and single end data

* add catch for when single end run ends in _1

* Update main.nf

Co-authored-by: Vlad-Dembrovskyi <[email protected]>

* Changes http to ftp in get_ftp_accession

Because this works now!!

* Make sra example data smaller

* Re-enable sra_test for singularity, now with ftp

Co-authored-by: Vlad-Dembrovskyi <[email protected]>
Co-authored-by: Vlad-Dembrovskyi <[email protected]>

* Update docs/run_on_sumner.md

Co-authored-by: cgpu <[email protected]>

Co-authored-by: imendes93 <[email protected]>
Co-authored-by: cgpu <[email protected]>
These are instructions on how to copy files from the JAX HPC Sumner to the cloud. Addresses #139
* [DEL 3039] Implement ftp download for SRA accessions (#2)

* add option for read download through FTP

* fix ftp path

* update information on download_from param

* Update run_on_sumner.md

* Fix FTP link generation; add test configs for both pair and single end data

* add catch for when single end run ends in _1

* Update main.nf

Co-authored-by: Vlad-Dembrovskyi <[email protected]>

* Changes http to ftp in get_ftp_accession

Because this works now!!

* Make sra example data smaller

* Re-enable sra_test for singularity, now with ftp

Co-authored-by: Vlad-Dembrovskyi <[email protected]>
Co-authored-by: Vlad-Dembrovskyi <[email protected]>

* Update docs/run_on_sumner.md

Co-authored-by: cgpu <[email protected]>

* Add #274 , Set cleanup default as true (#3)

Co-authored-by: imendes93 <[email protected]>
Co-authored-by: cgpu <[email protected]>
@Vlad-Dembrovskyi Vlad-Dembrovskyi changed the title Dev Pipeline release v2.0 Nov 24, 2021
@Vlad-Dembrovskyi
Copy link
Contributor Author

Latest test from Britanny on CloudOS shows we are good to go for now. GTEX issues and improvements will be addressed in next release.

https://cloudos.lifebit.ai/public/jobs/619bbaa4fb26cf01dcee8446

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.

3 participants