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

Tiny bugfixes #476

Merged
merged 2 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ testing/
testing*
*.pyc
null/
execution_trace*
.nf-test*
1 change: 0 additions & 1 deletion CITATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

- [MultiQC](https://pubmed.ncbi.nlm.nih.gov/27312411/)

> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.
> Ewels P, Magnusson M, Lundin S, Käller M. MultiQC: summarize analysis results for multiple tools and samples in a single report. Bioinformatics. 2016 Oct 1;32(19):3047-8. doi: 10.1093/bioinformatics/btw354. Epub 2016 Jun 16. PubMed PMID: 27312411; PubMed Central PMCID: PMC5039924.
apeltzer marked this conversation as resolved.
Show resolved Hide resolved

- [Bioconductor](https://www.bioconductor.org/) and [R](https://cran.r-project.org/)
Expand Down
2 changes: 0 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ params {
help = false
help_full = false
show_hidden = false
help_full = false
show_hidden = false
version = false
pipelines_testdata_base_path = 'https://raw.githubusercontent.com/nf-core/test-datasets/'
// Config options
Expand Down
16 changes: 8 additions & 8 deletions subworkflows/local/utils_nfcore_smrnaseq_pipeline/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ workflow PIPELINE_INITIALISATION {
.groupTuple()
.map { samplesheet ->
validateInputSamplesheet(samplesheet)
}
}
.map {
meta, fastqs ->
return [ meta, fastqs.flatten() ]
Expand Down Expand Up @@ -170,34 +170,34 @@ def validateInputParameters() {
genomeExistsError()

if (!params.mirgenedb && !params.mirtrace_species) {
error("Reference species for miRTrace is not defined via the --mirtrace_species parameter.")
error("Reference species for miRTrace is not defined via the `--mirtrace_species` parameter.")
}

if (!params.mirgenedb) {
// Validate mature miRNA fasta file
if (!params.mature) {
error("Mature miRNA fasta file not found. Please specify using the '--mature' parameter.")
error("Mature miRNA fasta file not found. Please specify using the `--mature` parameter.")
}
// Validate hairpin miRNA fasta file
if (!params.hairpin) {
error("Hairpin miRNA fasta file not found. Please specify using the '--hairpin' parameter.")
error("Hairpin miRNA fasta file not found. Please specify using the `--hairpin` parameter.")
}
} else {
// Validate MirGeneDB species
if (!params.mirgenedb_species) {
error("You specified to be using MirGeneDB, but the MirGeneDB species is not set. Please specify using the '--mirgenedb_species' parameter.")
error("You specified to be using MirGeneDB, but the MirGeneDB species is not set. Please specify using the `--mirgenedb_species` parameter.")
}
// Validate MirGeneDB mature miRNA fasta file
if (!params.mirgenedb_mature) {
error("You specified to be using MirGeneDB, but the mature miRNA fasta file is not found. Please provide the file using the '--mirgenedb_mature' parameter.")
error("You specified to be using MirGeneDB, but the mature miRNA fasta file is not found. Please provide the file using the `--mirgenedb_mature` parameter.")
}
// Validate MirGeneDB hairpin miRNA fasta file
if (!params.mirgenedb_hairpin) {
error("You specified to be using MirGeneDB, but the hairpin miRNA fasta file is not found. Please provide the file using the '--mirgenedb_hairpin' parameter.")
error("You specified to be using MirGeneDB, but the hairpin miRNA fasta file is not found. Please provide the file using the `--mirgenedb_hairpin` parameter.")
}
// Validate MirGeneDB GFF file
if (!params.mirgenedb_gff) {
error("You specified to be using MirGeneDB, but the GFF file is not found. Please provide the file using the '--mirgenedb_gff' parameter.")
error("You specified to be using MirGeneDB, but the GFF file is not found. Please provide the file using the `--mirgenedb_gff` parameter.")
}
}
}
Expand Down
Loading