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 hands-on workshop to DSL2 #256

Merged
merged 29 commits into from
Aug 17, 2023
Merged

Update hands-on workshop to DSL2 #256

merged 29 commits into from
Aug 17, 2023

Conversation

mribeirodantas
Copy link
Member

@mribeirodantas mribeirodantas commented Aug 16, 2023

  • Update code editor and path to files
  • Add final script (converted to DSL2) + update Nextflow vesion in the outputs
  • Convert process 1A (prepare_genome_samtools) to DSL2 + content
  • Convert process 1B (prepare_genome_picard) to DSL2 + content
  • Convert process 1C (prepare_star_genome_index) to DSL2 + content
  • Convert process 1D (prepare_vcf_file) to DSL2 + content
  • Convert process 2 (rnaseq_mapping_star) to DSL2 + content
  • Convert process 3 (rnaseq_gatk_splitNcigar) to DSL2 + content
  • Convert process 4 (rnaseq_gatk_recalibrate) to DSL2 + content
  • Convert process 5 (rnaseq_call_variants) to DSL2 + content
  • Convert process 6 (ASE & RNA Editing) to DSL2 + content
    • post_process_vcf
    • prepare_vcf_for_ase
  • Convert chained channel operations to create grouped_vcf_bam_bai_ch to DSL2 + content
  • Convert process 7 (ASE_knownSNPs) to DSL2 + content
  • Test if the code works
  • Make sure instructions are correctly updated

nano -> code
$HOME -> /workspace/gitpod/

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
outputs

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for nextflow-training ready!

Name Link
🔨 Latest commit d53389d
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-training/deploys/64dd9d5e1a9fd90007f04105
😎 Deploy Preview https://deploy-preview-256--nextflow-training.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas mribeirodantas self-assigned this Aug 16, 2023
@mribeirodantas mribeirodantas added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 16, 2023
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Also fix left BLANK issues in the previous processes

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Remove quotes from process names up to process 2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas mribeirodantas force-pushed the update_dsl2_handson branch 3 times, most recently from 4e515d9 to 95f400d Compare August 17, 2023 01:46
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Also adapt the content to be up-to-date with the code converted
to DSL2.

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas mribeirodantas linked an issue Aug 17, 2023 that may be closed by this pull request
Remove remaining DSL1 code

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Process 2: Align RNA-Seq reads to the genome with STAR

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Process 3: GATK Split on N

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Process 4: GATK Recalibrate

Replace $GATK occurrences by $params.gatk

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Process 5: GATK Variant Calling

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Process 6: ASE & RNA Editing
Process 7: Allele-Specific Expression analysis with GATK ASEReadCounter

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas mribeirodantas marked this pull request as ready for review August 17, 2023 04:09
Copy link
Collaborator

@christopher-hakkaart christopher-hakkaart left a comment

Choose a reason for hiding this comment

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

I haven't check it all works but it looks good.

Minor comment:

  • What do you think about using separate docker images for each tool/software?

@mribeirodantas
Copy link
Member Author

What do you think about using separate docker images for each tool/software?
That's a great point, @christopher-hakkaart. I plan to do this in the next PR.

The goal of this PR is to make sure it works with DSL2 without changing much from the original logic. In the next PR, I plan to improve the content, and overall organization, add Gitpod instructions and improve things like this container suggestion. I totally agree we should have a samtools container image, a picard container image, a star container image, a vcftools container image, and then the GATK container image 😃

@mribeirodantas mribeirodantas merged commit 8fb73c1 into master Aug 17, 2023
9 checks passed
@mribeirodantas mribeirodantas deleted the update_dsl2_handson branch August 17, 2023 13:39
@mribeirodantas mribeirodantas removed the request for review from ewels August 17, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert hands-on training to DSL2
2 participants