Skip to content

Commit

Permalink
[MERGE] 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nservant committed Oct 27, 2022
2 parents e352248 + 34ec599 commit 381ddb6
Show file tree
Hide file tree
Showing 204 changed files with 10,364 additions and 3,849 deletions.
26 changes: 26 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
variables:
GIT_SUBMODULE_STRATEGY: "recursive"

image: "${CI_REGISTRY}/bioinfo-containers/deploy-geniac:master"

stages:
- check # check that requirements are met

before_script:
- set -euo pipefail

#############################
# Perform preliminary check #
#############################

geniac_lint:
# launch geniac lint
stage: check
script:
- echo "Geniac lint"
- source /opt/etc/bashrc # needed to activate the geniac conda env
- geniac --version
- geniac lint ${CI_PROJECT_DIR}
tags:
- rancher

42 changes: 40 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,9 +1,48 @@
***********************************
version-2.0.0

NEW FEATURES

- WARNING - the --interval option is not supported in this version. The processing of WGS can thus be a bit long
- move code to DSL2
- rework of steps. Now 4 functional points of entry in vegan (mapping, filtering, calling and annotate)
- update of SnpEff paremeters
- new tools added: TMB, MSI
- new output files for Facets (ploidy&cellularity file and amp_del file)
- tables listing annotated variants for each sample and for Germline and Somatic variants
- new annotations with SnpSift and COSMIC, ICGC, Gnomad, CancerHotspot and DBNSFP are available
- simplifications of filtering. Now SV and SNVs are filtered the same way
- new parameters to save intermediates BAM, vcf or metrics
- new --ffpe parameter
- Mutect2 workflow now includes LearnReadOrientationModel step to
- new parameter --annotDb to define which Databases to use for the annotation step
- update versions of following tools:
- SnpEff & SnpSift 4.3 -> 5.1
- tabix 0.2.6 -> 1.11

SIGNIFICANT USER-VISIBLE CHANGES

- updated documentation and --help message
- refactor outputs
- remove intervals handling for WGS

BUG FIXES

- resolve bug in Facets with output names

***********************************
version-1.2.1

NEW FEATURES

- support for Mouse genome with no population annotation (Mutect2)

***********************************
version-1.2.0

SIGNIFICANT USER-VISIBLE CHANGES

- Updata genome conf
- Update genome conf
- Update mem for Mutect2/bwa-mem
- Update identito output
- Export unfiltered bam files by default
Expand Down Expand Up @@ -62,4 +101,3 @@ version-0.1.0
NEW FEATURES

- First version of the vegan pipeline

192 changes: 103 additions & 89 deletions README.md

Large diffs are not rendered by default.

Binary file added assets/Curie-CUBIC.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions assets/devMessage.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
========================================================================
------------------------------------------------------------------------${reset}${yellow}
DISCLAIMER

This software is currently under active development and the results
have been generated with a non stable version.
The reliability, reproducibility and the quality of the results are
therefore not guaranteed.

/!\ Do not use the results for any kind of projects /!\
========================================================================
/!\\ Do not use the results for any kind of projects /!\\
${reset}------------------------------------------------------------------------

31 changes: 31 additions & 0 deletions assets/multiqcConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,28 @@ custom_data:
id: 'transition'
scale: 'Set1'

tmb:
file_format: 'csv'
section_name: 'TMB'
description: 'Tumor Mutational Burden'
plot_type: 'bargraph'
pconfig:
namespace: 'tmb'
title: 'TMB'
id: 'tmb'
scale: 'Set1'

msi:
file_format: 'csv'
section_name: 'MSI'
description: 'Microsatellite instability extracted from MSIsensor-pro'
plot_type: 'bargraph'
pconfig:
namespace: 'tmb'
title: 'TMB'
id: 'msi'
scale: 'Set1'

sp:
my_stats:
fn: '*.stats'
Expand All @@ -313,6 +335,11 @@ sp:
fn: '*_HaplotypeCaller_callingMetrics.mqc'
transition:
fn: '*.table.tsv'
tmb:
fn: 'tmb_scores.mqc'
msi:
fn: 'msi_scores.mqc'

ignore_images: true

table_cond_formatting_rules:
Expand Down Expand Up @@ -401,6 +428,10 @@ report_section_order:
order: 50
transition:
order: 40
msi:
order: -900
tmb:
order: -1000
software_versions:
order: -2000
summary:
Expand Down
12 changes: 5 additions & 7 deletions assets/onCompleteTemplate.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<html>
<head>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="Nextflow ${workflowName} analysis pipeline (Institut Curie)">
<title>${workflowName} Pipeline Report</title>
<meta name="description" content="Nextflow analysis pipeline (Institut Curie)">
<title>Pipeline Report</title>
</head>
<body>
<div style="font-family: Helvetica, Arial, sans-serif; padding: 30px; max-width: 800px; margin: 0 auto;">
Expand All @@ -16,7 +17,7 @@ <h2>Run Name: $runName</h2>
<% if (!success){
out << """
<div style="color: #a94442; background-color: #f2dede; border-color: #ebccd1; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;">
<h4 style="margin-top:0; color: inherit;">${workflowName} execution completed unsuccessfully!</h4>
<h4 style="margin-top:0; color: inherit;">execution completed unsuccessfully!</h4>
<p>The exit status of the task that caused the workflow execution to fail was: <code>$exitStatus</code>.</p>
<p>The full error message was:</p>
<pre style="white-space: pre-wrap; overflow: visible; margin-bottom: 0;">${errorReport}</pre>
Expand All @@ -25,7 +26,7 @@ <h4 style="margin-top:0; color: inherit;">${workflowName} execution completed un
} else {
out << """
<div style="color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;">
${workflowName} execution completed successfully!
execution completed successfully!
</div>
"""
}
Expand All @@ -42,9 +43,6 @@ <h3>Pipeline Configuration:</h3>
</tbody>
</table>

<p>${workflowName}</p>
<p><a href="${url}">${url}</a></p>

</div>

</body>
Expand Down
81 changes: 48 additions & 33 deletions assets/onCompleteTemplate.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,50 @@
----------------------------------------------------
${workflowName} v${version}
----------------------------------------------------

Run Name: $runName

<% if (success){
out << "## ${workflowName} execution completed successfully! ##"
<html>
<head>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="description" content="Nextflow analysis pipeline (Institut Curie)">
<title>Pipeline Report</title>
</head>
<body>
<div style="font-family: Helvetica, Arial, sans-serif; padding: 30px; max-width: 800px; margin: 0 auto;">

<h1>${workflowName} v${version}</h1>
<h2>Run Name: $runName</h2>

<% if (!success){
out << """
<div style="color: #a94442; background-color: #f2dede; border-color: #ebccd1; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;">
<h4 style="margin-top:0; color: inherit;">execution completed unsuccessfully!</h4>
<p>The exit status of the task that caused the workflow execution to fail was: <code>$exitStatus</code>.</p>
<p>The full error message was:</p>
<pre style="white-space: pre-wrap; overflow: visible; margin-bottom: 0;">${errorReport}</pre>
</div>
"""
} else {
out << """####################################################
## ${workflowName} execution completed unsuccessfully! ##
####################################################
The exit status of the task that caused the workflow execution to fail was: $exitStatus.
The full error message was:

${errorReport}
"""
}%>


The workflow was completed at $dateComplete (duration: $duration)

The command used to launch the workflow was as follows:

$commandLine



Pipeline Configuration:
-----------------------
<% out << summary.collect{ k,v -> " - $k: $v" }.join("\n") %>
out << """
<div style="color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px;">
execution completed successfully!
</div>
"""
}
%>

<p>The workflow was completed at <strong>$dateComplete</strong> (duration: <strong>$duration</strong>)</p>
<p>The command used to launch the workflow was as follows:</p>
<pre style="white-space: pre-wrap; overflow: visible; background-color: #ededed; padding: 15px; border-radius: 4px; margin-bottom:30px;">$commandLine</pre>

<h3>Pipeline Configuration:</h3>
<table style="width:100%; max-width:100%; border-spacing: 0; border-collapse: collapse; border:0; margin-bottom: 30px;">
<tbody style="border-bottom: 1px solid #ddd;">
<% out << summary.collect{ k,v -> "<tr><th style='text-align:left; padding: 8px 0; line-height: 1.42857143; vertical-align: top; border-top: 1px solid #ddd;'>$k</th><td style='text-align:left; padding: 8px; line-height: 1.42857143; vertical-align: top; border-top: 1px solid #ddd;'><pre style='white-space: pre-wrap; overflow: visible;'>$v</pre></td></tr>" }.join("\n") %>
</tbody>
</table>

</div>

</body>
</html>

--
${workflowName}
${url}
9 changes: 9 additions & 0 deletions assets/tmb/mutect2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Describe the fields
## For definition, provide the expected key:values
## Note that several keys/values can be defined
##
###############################################

freq: 'AF'
depth: 'DP'
altDepth: 'AD'
109 changes: 109 additions & 0 deletions assets/tmb/snpeff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
## Describe the fields
## For definition, provide the expected key:values
## Note that several keys/values can be defined

###############################################
## SnpEff Parsing

## Tags
tag: 'ANN'
sep: '&'

## Annotation flags

isCoding:
1:
- chromosome_number_variation
- coding_sequence_variant
- conservative_inframe_deletion
- conservative_inframe_insertion
- disruptive_inframe_deletion
- disruptive_inframe_insertion
- exon_loss
- exon_loss_variant
- exon_variant
- frameshift_variant
- gene_variant
- initiator_codon_variant
- missense_variant
- rare_amino_acid_variant
- splice_acceptor_variant
- splice_donor_variant
- splice_region_variant
- start_lost
- start_retained
- stop_gained
- stop_lost
- stop_retained_variant
- synonymous_variant
- transcript_ablation
- transcript_amplification
- transcript_variant

isNonCoding:
1:
- 3_prime_UTR_truncation
- 3_prime_UTR_variant
- 5_prime_UTR_premature_start_codon_gain_variant
- 5_prime_UTR_truncation
- 5_prime_UTR_variant
- conserved_intergenic_variant
- conserved_intron_variant
- downstream_gene_variant
- feature_elongation
- feature_truncation
- intergenic_region
- intragenic_variant
- intron_variant
- mature_miRNA_variant
- miRNA
- NMD_transcript_variant
- non_coding_transcript_exon_variant
- non_coding_transcript_variant
- regulatory_region_ablation
- regulatory_region_amplification
- regulatory_region_variant
- TF_binding_site_variant
- TFBS_ablation
- TFBS_amplification
- upstream_gene_variant

isSplicing:
1:
- splice_donor_variant
- splice_acceptor_variant
- splice_region_variant

isSynonymous:
1:
- start_retained_variant
- stop_retained_variant
- synonymous_variant

isNonSynonymous:
1:
- frameshift_variant
- missense_variant
- rare_amino_acid_variant
- splice_acceptor_variant
- splice_donor_variant
- splice_region_variant
- start_lost
- stop_gained
- stop_lost

## Databases
cancerDb:
cosmic:
- COSMIC

polymDb:
1k:
- kg_AMR_AF
- kg_AFR_AF
- kg_EAS_AF
- kg_EUR_AF
- kg_SAS_AF

gnomad:
- AF
Binary file added assets/vegan_flowhcart.pdf
Binary file not shown.
Loading

0 comments on commit 381ddb6

Please sign in to comment.