Skip to content

Commit 6da2acd

Browse files
authored
Merge branch 'dev' into output_changes
2 parents a4b25a0 + f5841ec commit 6da2acd

42 files changed

Lines changed: 2105 additions & 183 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.nf-core.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
lint:
2+
multiqc_config: false
23
files_exist:
34
- tests/default.nf.test
45
files_unchanged:
56
- .github/CONTRIBUTING.md
7+
- docs/images/nf-core-seqinspector_logo_dark.png
8+
- docs/images/nf-core-seqinspector_logo_light.png
9+
- assets/nf-core-seqinspector_logo_light.png
610
nextflow_config:
711
- config_defaults:
812
- params.fastq_screen_references

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,14 @@ Initial release of nf-core/seqinspector, created with the [nf-core](https://nf-c
2626
- [#86](https://github.com/nf-core/seqinspector/issues/86) Update lists of default steps in the pipeline
2727
- [#84](https://github.com/nf-core/seqinspector/issues/84) Short summary of seqinspector in README.md
2828
- [#110](https://github.com/nf-core/seqinspector/pull/110) Update input schema to accept either tar file or directory as rundir, and fastq messages and patterns.
29+
- [#135](https://github.com/nf-core/seqinspector/pull/135) Added index section to MultiQC reports to facilitate report navigation (#125)
2930
- [#127](https://github.com/nf-core/seqinspector/pull/127) Added alignment tools - bwamem2 - index and mem
3031
- [#128](https://github.com/nf-core/seqinspector/pull/128) Added Picard tools - Collect Multiple Mterics to collect QC metrics
3132
- [#132](https://github.com/nf-core/seqinspector/pull/132) Added a bwamem2 index params for faster output
33+
- [#151](https://github.com/nf-core/seqinspector/pull/151) Added a prepare_genome subworkflow to handle bwamem2 indexing
34+
- [#159](https://github.com/nf-core/seqinspector/pull/159) Added a subworkflow QC_BAM including picard_collecthsmetrics for alignment QC of hybrid-selection data
35+
- [#158](https://github.com/nf-core/seqinspector/pull/158) Moved picard_collectmultiplemetrics to the subworkflow QC_BAM
36+
- [#162](https://github.com/nf-core/seqinspector/pull/162) Add tests for prepare_genome subworkflow
3237

3338
### `Fixed`
3439

@@ -37,6 +42,8 @@ Initial release of nf-core/seqinspector, created with the [nf-core](https://nf-c
3742
- [#107](https://github.com/nf-core/seqinspector/pull/107) Put SeqFU-stats section reports together
3843
- [#112](https://github.com/nf-core/seqinspector/pull/112) Making fastq_screen_references value to use parentDir
3944
- [#94] (https://github.com/nf-core/seqinspector/issues/94) Go through and validate test data
45+
- [#162](https://github.com/nf-core/seqinspector/pull/162) Fix bugs in qc_bam and prepare_genome subworkflows and add tests
46+
- [#163](https://github.com/nf-core/seqinspector/pull/163) Run fastqscreen with subsampled data if available
4047

4148
### `Dependencies`
4249

CITATIONS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
3939
- [Picard Tools](https://broadinstitute.github.io/picard/)
4040

41+
> Broad Institute, “Picard Toolkit.” 2019. GitHub Repository. https://broadinstitute.github.io/picard/
42+
4143
## Software packaging/containerisation tools
4244

4345
- [Anaconda](https://anaconda.com)

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,17 @@
3737

3838
<!-- TODO: add a search tool that accepts a tree for `Compatibility with Data`. -->
3939

40-
| Tool Type | Tool Name | Tool Description | Compatibility with Data | Dependencies |
41-
| ------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------- | ----------------------- | ------------------- |
42-
| `Subsampling` | [`Seqtk`](https://github.com/lh3/seqtk) | Global subsampling of reads | [RNA, DNA, synthetic] | [N/A] |
43-
| `QC` | [`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/) | Read QC | [RNA, DNA] | [N/A] |
44-
| `QC` | [`FastqScreen`](https://www.bioinformatics.babraham.ac.uk/projects/fastq_screen/) | Basic contamination detection | [RNA, DNA] | [N/A] |
45-
| `QC` | [`SeqFu Stats`](https://github.com/telatin/seqfu2) | Sequence statistics | [RNA, DNA] | [N/A] |
46-
| `Indexing, Mapping` | [`Bwamem2`](https://github.com/bwa-mem2/bwa-mem2) | Align reads to reference | [RNA, DNA] | [N/A] |
47-
| `Indexing` | [`SAMtools`](http://github.com/samtools) | Index aligned BAM files, create FASTA index | [DNA] | [N/A] |
48-
| `QC` | [`Picard`](https://broadinstitute.github.io/picard/picard-metric-definitions.html) | Collect multiple QC metrics | [RNA, DNA] | [Bwamem2, SAMtools] |
49-
| `Reporting` | [`MultiQC`](http://multiqc.info/) | Aggregate and visualise results | [RNA, DNA, synthetic] | [N/A] |
40+
| Tool Type | Tool Name | Tool Description | Compatibility with Data | Dependencies | Default tool |
41+
| ------------------- | ------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------ |
42+
| `Subsampling` | [`Seqtk`](https://github.com/lh3/seqtk) | Global subsampling of reads. Only performs subsampling if `--sample_size` parameter is given. | [RNA, DNA, synthetic] | [N/A] | no |
43+
| `Indexing, Mapping` | [`Bwamem2`](https://github.com/bwa-mem2/bwa-mem2) | Align reads to reference | [RNA, DNA] | [N/A] | yes |
44+
| `Indexing` | [`SAMtools`](http://github.com/samtools) | Index aligned BAM files, create FASTA index | [DNA] | [N/A] | yes |
45+
| `QC` | [`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/) | Read QC | [RNA, DNA] | [N/A] | yes |
46+
| `QC` | [`FastqScreen`](https://www.bioinformatics.babraham.ac.uk/projects/fastq_screen/) | Basic contamination detection | [RNA, DNA] | [N/A] | yes |
47+
| `QC` | [`SeqFu Stats`](https://github.com/telatin/seqfu2) | Sequence statistics | [RNA, DNA] | [N/A] | yes |
48+
| `QC` | [`Picard collect multiple metrics`](https://broadinstitute.github.io/picard/picard-metric-definitions.html) | Collect multiple QC metrics | [RNA, DNA] | [Bwamem2, SAMtools, `--genome`] | yes |
49+
| `QC` | [`Picard_collecthsmetrics`](https://gatk.broadinstitute.org/hc/en-us/articles/360036856051-CollectHsMetrics-Picard) | Collect alignment QC metrics of hybrid-selection data. | [RNA, DNA] | [Bwamem2, SAMtools, `--fasta`, `--run_picard_collecths_metrics`, `--bait_intervals`, `--target_intervals` (`--ref_dict`)] | no |
50+
| `Reporting` | [`MultiQC`](http://multiqc.info/) | Present QC for raw reads | [RNA, DNA, synthetic] | [N/A] | yes |
5051

5152
<picture>
5253
<source media="(prefers-color-scheme: dark)" srcset="docs/images/seqinspector_tubemap_V1.0_dark.png">
@@ -92,7 +93,7 @@ For more details about the output files and reports, please refer to the
9293

9394
## Credits
9495

95-
nf-core/seqinspector was originally written by the Swedish [@NationalGenomicsInfrastructure](https://github.com/NationalGenomicsInfrastructure/).
96+
nf-core/seqinspector was originally written by the Swedish [@NationalGenomicsInfrastructure](https://github.com/NationalGenomicsInfrastructure/) and [Clinical Genomics Stockholm](https://clinical.scilifelab.se/).
9697

9798
We thank the following people for their extensive assistance in the development of this pipeline:
9899

@@ -106,9 +107,6 @@ For further information or help, don't hesitate to get in touch on the [Slack `#
106107

107108
## Citations
108109

109-
<!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi and badge at the top of this file. -->
110-
<!-- If you use nf-core/seqinspector for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) -->
111-
112110
<!-- TODO nf-core: Add bibliography of tools and data used in your pipeline -->
113111

114112
An extensive list of references for the tools used by the pipeline can be found in the [`CITATIONS.md`](CITATIONS.md) file.

assets/methods_description_template.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ description: "Suggested text and references to use when describing pipeline usag
33
section_name: "nf-core/seqinspector Methods Description"
44
section_href: "https://github.com/nf-core/seqinspector"
55
plot_type: "html"
6-
## TODO nf-core: Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline
7-
## You inject any metadata in the Nextflow '${workflow}' object
86
data: |
97
<h4>Methods</h4>
108
<p>Data was processed using nf-core/seqinspector v${workflow.manifest.version} ${doi_text} of the nf-core collection of workflows (<a href="https://doi.org/10.1038/s41587-020-0439-x">Ewels <em>et al.</em>, 2020</a>), utilising reproducible software environments from the Bioconda (<a href="https://doi.org/10.1038/s41592-018-0046-7">Grüning <em>et al.</em>, 2018</a>) and Biocontainers (<a href="https://doi.org/10.1093/bioinformatics/btx192">da Veiga Leprevost <em>et al.</em>, 2017</a>) projects.</p>

assets/multiqc_config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ report_comment: >
33
analysis pipeline. For information about how to interpret these results, please see the
44
<a href="https://nf-co.re/seqinspector/dev/docs/output" target="_blank">documentation</a>.
55
report_section_order:
6+
"nf-core-seqinspector-index":
7+
order: -999
68
"nf-core-seqinspector-methods-description":
79
order: -1000
8-
software_versions:
10+
multiqc_software_versions:
911
order: -1001
1012
"nf-core-seqinspector-summary":
1113
order: -1002
-1.59 KB
Loading

conf/modules.config

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ process {
4343
]
4444
}
4545

46+
withName: 'PICARD_CREATESEQUENCEDICTIONARY' {
47+
publishDir = [
48+
path: { "${params.outdir}/picard_createsequencedictionary" },
49+
mode: params.publish_dir_mode,
50+
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
51+
]
52+
}
53+
4654
withName: 'BWAMEM2_MEM' {
4755
publishDir = [
4856
path: { "${params.outdir}/bwamem2_mem" },
@@ -59,6 +67,15 @@ process {
5967
]
6068
}
6169

70+
withName: 'PICARD_COLLECTHSMETRICS' {
71+
publishDir = [
72+
path: { "${params.outdir}/picard_collecthsmetrics" },
73+
mode: params.publish_dir_mode,
74+
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
75+
]
76+
ext.args = {"--TMP_DIR ."}
77+
}
78+
6279
withName: 'SAMTOOLS_FAIDX' {
6380
publishDir = [
6481
path: { "${params.outdir}/samtools_faidx" },
-366 Bytes
Loading
-328 Bytes
Loading

0 commit comments

Comments
 (0)