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

[Do not merge!] Pseudo PR for first release #69

Draft
wants to merge 1,445 commits into
base: first-commit-for-pseudo-pr
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1445 commits
Select commit Hold shift + click to select a range
9fc9fd1
pull logo changes manually from TEMPLATE
mashehu Feb 1, 2024
a9491ed
Merge branch 'nf-core-template-merge-2.12' of https://github.com/Mari…
mashehu Feb 1, 2024
dbcbf1a
fix typo in docs/output.md
MariekeVromman Feb 2, 2024
e0a0123
remove redundant output declaration
MariekeVromman Feb 2, 2024
6cdab70
Merge pull request #96 from MariekeVromman/nf-core-template-merge-2.12
MariekeVromman Feb 2, 2024
313ba3a
make /tmp dir in work dir (sort) to avoid error on cluster
MariekeVromman Feb 14, 2024
b7f3768
add tmp dir
MariekeVromman Feb 14, 2024
0660b3e
Update modules/local/star/sjdb/main.nf
MariekeVromman Feb 14, 2024
cb5f8ff
fix indentation
MariekeVromman Feb 14, 2024
d8c6073
clean up fasta (not working correctly yet)
MariekeVromman Feb 14, 2024
02a5eff
fix value channel for star index
MariekeVromman Feb 19, 2024
becfd6a
Merge pull request #98 from MariekeVromman/dev
MariekeVromman Feb 19, 2024
9941763
resolve gawk bug, prefix/sufix issue and publish dir
MariekeVromman Feb 20, 2024
9107e83
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
195e3da
try to fix disapearing folder
MariekeVromman Feb 22, 2024
b30d0b3
try to fix naming
MariekeVromman Feb 22, 2024
e4bf00f
try to fix basename
MariekeVromman Feb 22, 2024
a541cc4
change order
MariekeVromman Feb 22, 2024
38df3d1
update naming new fasta file
MariekeVromman Feb 22, 2024
12ad8f4
update gawk module
MariekeVromman Feb 23, 2024
0a31971
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
d67f392
Merge branch 'nf-core-template-merge-2.13' of github.com:nf-core/circ…
nictru Feb 28, 2024
499eef1
Implement pipeline changes necessary for the 2.13 tools update
nictru Feb 29, 2024
6184a49
Fix some more problems with template update
nictru Feb 29, 2024
0d5b032
Fix linting problems
nictru Feb 29, 2024
09a630e
Template update for nf-core/tools version 2.13.1
nf-core-bot Feb 29, 2024
b950528
Merge branch 'nf-core-template-merge-2.13' into nf-core-template-merg…
nictru Feb 29, 2024
e121574
Merge pull request #101 from nf-core/nf-core-template-merge-2.13.1
nictru Feb 29, 2024
93c2881
Implement pandas-based annotation
nictru Feb 1, 2024
cfee6c7
Implement handling of intergenic circRNAs
nictru Feb 1, 2024
3e5f72a
Fix linting problems
nictru Feb 1, 2024
740d17a
Implement handling of "gene" rows in annotation
nictru Feb 3, 2024
686e40f
Remove quay.io prefix from container definition
nictru Feb 28, 2024
49f47ca
Implement capture of versions in annotation
nictru Feb 28, 2024
fb6a1d9
Fix linting
nictru Mar 1, 2024
cf46f11
Fix problem with annotation.py script calling
nictru Mar 1, 2024
2de5b60
Fix problem with escape characters in dedicated python script
nictru Mar 1, 2024
7968265
Merge branch 'dev' into clean_fasta
MariekeVromman Mar 1, 2024
d7fe40f
Merge pull request #95 from nf-core/parallel-annotation
nictru Mar 1, 2024
3cc60b4
merge with dev to get new tool version
MariekeVromman Mar 1, 2024
82e1b28
add dumpsoftwareversions
MariekeVromman Mar 1, 2024
abd9aa7
Fix script references
nictru Mar 3, 2024
d119033
Merge pull request #103 from nf-core/102-problems-with-scripts-refere…
nictru Mar 7, 2024
67583b8
Merge pull request #100 from MariekeVromman/clean_fasta
MariekeVromman Mar 12, 2024
5a68987
Improve channel structure
nictru Mar 18, 2024
0a782be
Implement seqkit_split
nictru Mar 18, 2024
0964206
Update seqkit version
nictru Mar 18, 2024
c4a3e8e
Update modules
nictru Mar 18, 2024
72dd514
Fix some common problems in CIRIquant and HISAT2_ALIGN
nictru Mar 18, 2024
6fc9ae8
Fix miranda channel structure
nictru Mar 18, 2024
4e50b0b
Fix linting
nictru Mar 18, 2024
919f5fa
Add some meta inputs
nictru Mar 18, 2024
50a6ca2
Prettier
nictru Mar 18, 2024
30552fa
Unify species_id parameter
nictru Mar 19, 2024
b4929ee
Simplify handling of tool indices
nictru Mar 19, 2024
f741c75
Add defaults for previously undefined parameters
nictru Mar 19, 2024
c2089ca
Linting
nictru Mar 19, 2024
e691f5c
Fix indent
nictru Mar 19, 2024
d950657
Merge pull request #104 from nf-core/improve-genome-preparation
nictru Mar 21, 2024
0ee988b
Make some parameters non-required when according modules are disabled
nictru Mar 30, 2024
84eb20b
Merge pull request #107 from nf-core/fix-falsely-required-parameters
nictru Apr 2, 2024
30af209
fix hisast2 index bug in yml file
MariekeVromman Apr 11, 2024
a860bf8
fix bug to make dir
MariekeVromman Apr 11, 2024
63cfd78
cleaner way to set hisat2_prefix
MariekeVromman Apr 11, 2024
cf0a055
revert back changes for testing
MariekeVromman Apr 11, 2024
d4199c4
Merge pull request #109 from MariekeVromman/ciriquant_bug
nictru Apr 15, 2024
1c9d74e
Add parameter for setting STAR limitSjdbInsertNsj
nictru Apr 15, 2024
3e742a9
Merge pull request #110 from nf-core/star-sjdb-limit
nictru Apr 16, 2024
e14ceae
Remove problematic ciriquant-yml process
nictru Apr 19, 2024
c29124f
Merge pull request #113 from nf-core/ciriquant-yml
nictru Apr 20, 2024
ff100b3
Implement common quantification
nictru Feb 28, 2024
27b17a2
Add marking of circRNAs in quantification
nictru Mar 19, 2024
1d81d4b
Increase resources for PSIRC
nictru Mar 19, 2024
eb3b366
Implement separation of circular and linear counts
nictru Mar 19, 2024
7176cce
Implement aggregation of annotations
nictru Mar 19, 2024
b7d6301
Update quantification subworkflow
nictru Mar 19, 2024
be0453a
Simplify count merging processes
nictru Mar 19, 2024
be5f134
Use tximport
nictru Mar 19, 2024
9723eaf
Finalize quantification
nictru Mar 19, 2024
9c1ef11
Implement quantification aggregation for TPMs
nictru Mar 19, 2024
d384c65
Override publishdir of quantification results
nictru Mar 19, 2024
4ef2321
Emit Quantification results
nictru Mar 19, 2024
047421a
Align indentation
nictru Mar 19, 2024
9261572
Remove traces of old count combination
nictru Mar 19, 2024
8a8efa7
Fix compatibility issues with DGEA
nictru Mar 19, 2024
f80e0cb
Add version captures
nictru Mar 19, 2024
b143b30
Fix unchanged file
nictru Mar 19, 2024
0fb0a33
Update modules
nictru Mar 19, 2024
23170e3
Add missing version capture for ciriquant_yml
nictru Mar 19, 2024
5732485
Fix some version capture problems
nictru Mar 19, 2024
d1adb3e
Fix missing version variable in psirc-quant
nictru Mar 19, 2024
48f0dca
Revert "Fix unchanged file"
nictru Mar 19, 2024
b6f612d
Fix editorconfig checks
nictru Mar 19, 2024
f658463
Use gene names for annotation instead of ids
nictru Mar 20, 2024
6d863a4
Add GTF creation to annotation
nictru Mar 22, 2024
db88a45
Switch to processing circRNAs more like standard transcripts
nictru Mar 22, 2024
8b7cf90
Switch to using CSVTK for joining quantifications
nictru Mar 22, 2024
2581c28
Implement splitting of circular and linear transcripts
nictru Mar 22, 2024
12a1b38
Simplify quantification script
nictru Mar 22, 2024
967fb00
Add quantification type splitting to output
nictru Mar 22, 2024
6dd7a5a
Add filter for overlong circRNAs
nictru Mar 22, 2024
9c62830
Remove ciriquant YML version capture
nictru Apr 19, 2024
65f0f54
Add draft tximeta support
nictru Apr 20, 2024
74c08a3
Fix problem with erroneous abundance.h5 detection
nictru Apr 20, 2024
9bbcc2e
Update tximeta script
nictru Apr 20, 2024
a23b898
Switch to tximeta pure RDS approach
nictru Apr 20, 2024
6b26142
Implement basic swish functionality
nictru Apr 20, 2024
6c254a7
Fix linting
nictru Apr 20, 2024
48fc366
Prettier
nictru Apr 20, 2024
6ca9793
Increase resource usage of quantification joining
nictru Apr 21, 2024
c88bbf5
Implement separate process for merging summarizedexperiment objects
nictru Apr 21, 2024
257d4da
Fix problematic stub in FISHPOND_SWISH
nictru Apr 24, 2024
aa266a5
Add bam file output to psirc-quant
nictru Apr 24, 2024
8699652
Remove swish traces
nictru Apr 24, 2024
282ac32
Remove check for overlong circRNAs
nictru Apr 24, 2024
7e367ad
Fix environment int COUNTS_COMBINED
nictru Apr 25, 2024
2ae28fa
Remove quay.io prefixes
nictru Apr 25, 2024
eceacd7
Fix environment definition of MERGE_TOOLS
nictru Apr 25, 2024
8eb1b22
Merge pull request #106 from nf-core/common-quantification
nictru Apr 25, 2024
4cded24
Template update for nf-core/tools version 2.14.0
nf-core-bot May 8, 2024
7ba39a5
Merge remote-tracking branch 'origin/dev' into nf-core-template-merge…
nictru May 9, 2024
80712a4
Template update for nf-core/tools version 2.14.1
nf-core-bot May 9, 2024
b7900f2
Merge branch 'nf-core-template-merge-2.14.0' into nf-core-template-me…
nictru May 9, 2024
3f8d5d8
Remove unnecessary module configs
nictru May 9, 2024
70b3a5f
Update modules
nictru May 9, 2024
6dde17b
Add samtools faidx version capture
nictru May 9, 2024
eeb35ed
Remove unnecessary nextflow schema entry
nictru May 9, 2024
0f10c05
Merge pull request #120 from nf-core/nf-core-template-merge-2.14.1
nictru May 10, 2024
b3256a6
Implement process for removing overlong transcripts
nictru Apr 29, 2024
1eea22c
Use only merged circRNAs in further analyses
nictru May 1, 2024
5ebf6b8
Implement upset plots
nictru May 2, 2024
a9bd254
Refine upset functionality
nictru May 2, 2024
d5f511c
Add upset plots to multiqc
nictru May 2, 2024
8095b80
Fix linting
nictru May 2, 2024
020c8ea
Fix pandas bug
nictru May 2, 2024
d99821c
Disable upset plots if only one tool is enabled
nictru May 2, 2024
bf06573
Add annotation as rowdata to summarizedExperiment
nictru May 6, 2024
15bd62c
Prepare for TPM addition
nictru May 10, 2024
dbc4042
Fix DeSeq compatibility problems
nictru May 10, 2024
86af7b2
Add TPM the quantification RDS
nictru May 10, 2024
5ddc061
Merge pull request #117 from nf-core/exclude-overlong-transcripts
nictru May 10, 2024
6cdc67f
Fix GTF attribute splitting
nictru May 22, 2024
e273f70
Simplify FASTA extraction
nictru May 22, 2024
74dfdf6
Merge pull request #121 from nf-core/mysolid-bugs
nictru May 22, 2024
1bb983b
Simplify STAR and SEGEMEHL discovery
nictru May 24, 2024
aa4597e
Simplify CIRCEXPLORER2 workflow
nictru May 24, 2024
14b0f12
Simplify CIRCRNA_FINDER
nictru May 24, 2024
5032443
Simplify FIND_CIRC
nictru May 24, 2024
bb73664
Simplify CIRIQUANT
nictru May 24, 2024
3491bed
Simplify DCC
nictru May 24, 2024
6c9eefc
Simplify MAPSPLICE
nictru May 24, 2024
291c14e
Restructure discovery tool calls
nictru May 24, 2024
5fa979b
Restructure discovery downstream workflows
nictru May 24, 2024
a746548
Simplify annotation workflow
nictru May 24, 2024
ca5abfa
Change the way discovery tools are disabled
nictru May 24, 2024
27b5ab7
Switch segemehl to bed output
nictru May 24, 2024
d5d0f26
Implement central BSJ filtering
nictru May 24, 2024
749c436
Implement circexplorer2 unification
nictru May 24, 2024
bc09e30
Unify find_circ
nictru May 24, 2024
e02cb54
Unify ciriquant
nictru May 24, 2024
de9645c
Unify DCC
nictru May 24, 2024
0dd9a4f
Unify mapsplice
nictru May 24, 2024
4fa56f3
Unify circrna_finder
nictru May 24, 2024
01b7899
Rename RUN to MAIN in all occurrences
nictru May 24, 2024
a6a82f3
Add circrna_finder unify version capture
nictru May 24, 2024
aca81ce
Remove tool-specific filtering artifacts
nictru May 24, 2024
fca0475
Remove technical debt with former "results" channel
nictru May 24, 2024
e6e3157
Remove unnecessary checks if circrna_discovery is enabled
nictru May 24, 2024
f351b96
Fix code style problems
nictru May 27, 2024
5ef923d
Merge pull request #122 from nf-core/discovery-splitup
nictru May 28, 2024
43a1c4d
Update nf-core modules
nictru May 30, 2024
b81a30a
Update segemehl unify call
nictru May 30, 2024
0e9cce3
Merge pull request #123 from nf-core/segemehl-update
nictru May 30, 2024
0a98534
Add support for ext.args in ciriquant
nictru May 31, 2024
d5967c5
Merge pull request #124 from nf-core/ciriquant-args
nictru May 31, 2024
0cc85b0
Add strandedness to samplesheet
nictru May 31, 2024
30af702
Add support for strandedness in ciriquant
nictru May 31, 2024
9c58899
Revise DCC parameters
nictru May 31, 2024
f38c58c
Implement ext.args interface for find_circ
nictru May 31, 2024
ca15b3a
Fix trimming indentation in modules.config
nictru May 31, 2024
2b54d43
Move segemehl index location in modules.config
nictru May 31, 2024
022d66e
Add strandedness to bowtie2 calls
nictru May 31, 2024
a41eab1
Add strandedness to find_circ
nictru May 31, 2024
8957a7e
Add strandedness documentation
nictru Jun 9, 2024
c65e604
Add samplesheet validation for strandedness of runs of the same sample
nictru Jun 9, 2024
0ea2e75
Update modules
nictru Jun 9, 2024
98c1070
Merge pull request #132 from nf-core/module-updates_24-06
nictru Jun 9, 2024
e17b3ac
Merge pull request #131 from nf-core/strandedness
nictru Jun 10, 2024
8150c43
Add new STATISTICAL_TESTS subworkflow
nictru Jun 10, 2024
7ef6b03
Implement CIRCTEST_PREPARE
nictru Jun 10, 2024
5893d6d
Implement circTest
nictru Jun 11, 2024
9c5906d
Fix circtest problems
nictru Jun 11, 2024
21236c8
Re-enable circtest plots
nictru Jun 11, 2024
69f82c0
Fix circtest plot problem
nictru Jun 11, 2024
d2839a3
Remove artifacts of old differential expression analysis
nictru Jun 11, 2024
b67e980
Simplify annotation module
nictru Jun 11, 2024
6fdc23d
Switch annotation to template syntax
nictru Jun 11, 2024
a87569b
Remove unused combine_quantification script
nictru Jun 11, 2024
fa7cc09
Switch merge_samples to template syntax
nictru Jun 11, 2024
f3e63fd
Switch to template syntax in merge_tools
nictru Jun 11, 2024
4a49a48
Remove custom DESeq2 module
nictru Jun 11, 2024
ec9198b
Remove DIFFERENTIAL_EXPRESSION traces
nictru Jun 11, 2024
3441048
Remove unwanted biotypes
nictru Jun 11, 2024
abd9dcd
Fix linting problems
nictru Jun 11, 2024
ffbada6
Prettier
nictru Jun 11, 2024
2d259c3
Remove traces of differential_expression in docs
nictru Jun 12, 2024
00d5f0a
Update modules/local/circtest/circtest/main.nf
nictru Jun 14, 2024
4f37a03
Clarify docs
nictru Jun 14, 2024
4974eaf
Update gnu/sort
nictru Jun 14, 2024
ad02b05
Merge pull request #147 from nf-core/144-differential-expression
nictru Jun 14, 2024
aac8f81
Change conditions for downstream tasks
May 29, 2024
d24d1ba
Changed documentation 'phenotype' and 'mature'
Jun 2, 2024
c046322
Remove module traces of module parameter
nictru Jun 14, 2024
d7b6258
Fix nextflow_schema.json
nictru Jun 14, 2024
d73a8c2
Make phenotype optional for quantification
nictru Jun 14, 2024
fdc9667
Improve documentation of the phenotype parameter
nictru Jun 14, 2024
9f9e967
Update documentation for enabling miRNA prediction
nictru Jun 14, 2024
a0fb084
Update README
nictru Jun 14, 2024
7fb28ad
Update usage documentation to follow rnaseq example
nictru Jun 14, 2024
1d66688
Update nextflow schema order
nictru Jun 14, 2024
ee159a2
Update ouput docs
nictru Jun 14, 2024
ab74eb5
Prettier
nictru Jun 14, 2024
c7077d9
Merge pull request #148 from nf-core/deprecate_module
nictru Jun 15, 2024
b8474a0
Add annotations parameter and pass it to the according position
nictru Jun 17, 2024
30e28dd
Make annotations parameter optional
nictru Jun 17, 2024
a3f165c
Unify annotation naming
nictru Jun 17, 2024
706e797
First database annotation implementation
nictru Jun 18, 2024
8ecd3cd
Fix per-sample DB annotation
nictru Jun 18, 2024
6a97b0c
Change database intersection strategy
nictru Jun 18, 2024
b511c0c
Make sure databases are optional
nictru Jun 18, 2024
b4c2f49
Add db annotation to annotation python script
nictru Jun 18, 2024
cbaf4fd
Fix first row length bug
nictru Jun 18, 2024
8999212
Make sure annotation input is optional
nictru Jun 18, 2024
995775b
Merge pull request #149 from nf-core/138-implement-circrna-database-a…
nictru Jun 18, 2024
fab59a3
Use psirc bioconda package
nictru Jun 19, 2024
8311bab
Escape problematic $
nictru Jun 19, 2024
9b57e7f
Fix problematic $ also in psirc index
nictru Jun 19, 2024
98923dd
Merge pull request #152 from nf-core/115-add-bioconda-recipe-for-psirc
nictru Jun 19, 2024
50226e8
Fix pandas references
nictru Jun 24, 2024
81adab0
Remove problematic r-base singularity image
nictru Jun 24, 2024
bed731c
Add missing environment yml files
nictru Jun 24, 2024
bc8acdf
Add another missing environment yml
nictru Jun 24, 2024
900e1fc
Add tximeta environment.yml
nictru Jun 25, 2024
c3783b9
Fix GTF sorting
nictru Jun 25, 2024
cb72c91
Fix typo on merge_experiments conda environment
nictru Jun 25, 2024
6c73c83
Fix merge_experiments environment definition
nictru Jun 25, 2024
aaebb74
Fix typo
nictru Jun 25, 2024
8fce8c2
Merge pull request #153 from nf-core/conda-envs
nictru Jun 25, 2024
34a3a80
Fix circexplorer2 count location
nictru Jun 27, 2024
4a2d30f
Merge pull request #154 from nf-core/circexplorer2-counts
nictru Jun 27, 2024
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
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
}
}
24 changes: 24 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{md,yml,yaml,html,css,scss,js,cff}]
indent_size = 2

# These files are edited and tested upstream in nf-core/modules
[/modules/nf-core/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset

[/assets/email*]
indent_size = unset
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
1 change: 1 addition & 0 deletions .github/.dockstore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ version: 1.2
workflows:
- subclass: nfl
primaryDescriptorPath: /nextflow.config
publish: True
80 changes: 71 additions & 9 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Contributions to the code are even more welcome ;)

If you'd like to write some code for nf-core/circrna, the standard workflow is as follows:

1. Check that there isn't already an issue about your idea in the [nf-core/circrna issues](https://github.com/nf-core/circrna/issues) to avoid duplicating work
* If there isn't one already, please create one so that others know you're working on this
1. Check that there isn't already an issue about your idea in the [nf-core/circrna issues](https://github.com/nf-core/circrna/issues) to avoid duplicating work. If there isn't one already, please create one so that others know you're working on this
2. [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the [nf-core/circrna repository](https://github.com/nf-core/circrna) to your GitHub account
3. Make the necessary changes / additions within your forked repository
4. Submit a Pull Request against the `dev` branch and wait for the code to be reviewed and merged
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
4. Use `nf-core schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
5. Submit a Pull Request against the `dev` branch and wait for the code to be reviewed and merged

If you're not used to this workflow with git, you can start with some [docs from GitHub](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests) or even their [excellent `git` resources](https://try.github.io/).

Expand All @@ -30,14 +30,14 @@ Typically, pull-requests are only fully reviewed when these tests are passing, t

There are typically two types of tests that run:

### Lint Tests
### Lint tests

`nf-core` has a [set of guidelines](https://nf-co.re/developers/guidelines) which all pipelines must adhere to.
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core lint <pipeline-directory>` command.

If any failures or warnings are encountered, please follow the listed URL for more documentation.

### Pipeline Tests
### Pipeline tests

Each `nf-core` pipeline should be set up with a minimal set of test-data.
`GitHub Actions` then runs the pipeline on this data to ensure that it exits successfully.
Expand All @@ -48,10 +48,72 @@ These tests are run both with the latest available version of `Nextflow` and als

:warning: Only in the unlikely and regretful event of a release happening with a bug.

* On your own fork, make a new branch `patch` based on `upstream/master`.
* Fix the bug, and bump version (X.Y.Z+1).
* A PR should be made on `master` from patch to directly this particular bug.
- On your own fork, make a new branch `patch` based on `upstream/master`.
- Fix the bug, and bump version (X.Y.Z+1).
- A PR should be made on `master` from patch to directly this particular bug.

## Getting help

For further information/help, please consult the [nf-core/circrna documentation](https://nf-co.re/circrna/usage) and don't hesitate to get in touch on the nf-core Slack [#circrna](https://nfcore.slack.com/channels/circrna) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Pipeline contribution conventions

To make the nf-core/circrna code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.

### Adding a new step

If you wish to contribute a new step, please use the following coding standards:

1. Define the corresponding input channel into your new process from the expected previous process channel
2. Write the process block (see below).
3. Define the output channel if needed (see below).
4. Add any new parameters to `nextflow.config` with a default (see below).
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core schema build` tool).
6. Add sanity checks and validation for all relevant parameters.
7. Perform local tests to validate that the new code works as expected.
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
9. Update MultiQC config `assets/multiqc_config.yml` so relevant suffixes, file name clean up and module plots are in the appropriate order. If applicable, add a [MultiQC](https://https://multiqc.info/) module.
10. Add a description of the output files and if relevant any appropriate images from the MultiQC report to `docs/output.md`.

### Default values

Parameters should be initialised / defined with default values in `nextflow.config` under the `params` scope.

Once there, use `nf-core schema build` to add to `nextflow_schema.json`.

### Default processes resource requirements

Sensible defaults for process resource requirements (CPUs / memory / time) for a process should be defined in `conf/base.config`. These should generally be specified generic with `withLabel:` selectors so they can be shared across multiple processes/steps of the pipeline. A nf-core standard set of labels that should be followed where possible can be seen in the [nf-core pipeline template](https://github.com/nf-core/tools/blob/master/nf_core/pipeline-template/conf/base.config), which has the default process as a single core-process, and then different levels of multi-core configurations for increasingly large memory requirements defined with standardised labels.

The process resources can be passed on to the tool dynamically within the process with the `${task.cpu}` and `${task.memory}` variables in the `script:` block.

### Naming schemes

Please use the following naming schemes, to make it easy to understand what is going where.

- initial process channel: `ch_output_from_<process>`
- intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`

### Nextflow version bumping

If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core bump-version --nextflow . [min-nf-version]`

### Images and figures

For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).

## GitHub Codespaces

This repo includes a devcontainer configuration which will create a GitHub Codespaces for Nextflow development! This is an online developer environment that runs in your browser, complete with VSCode and a terminal.

To get started:

- Open the repo in [Codespaces](https://github.com/nf-core/circrna/codespaces)
- Tools installed
- nf-core
- Nextflow

Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
- [Dockerfile](.devcontainer/Dockerfile)
50 changes: 0 additions & 50 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bug report
description: Report something that is broken or incorrect
labels: bug
body:
- type: markdown
attributes:
value: |
Before you post this issue, please check the documentation:

- [nf-core website: troubleshooting](https://nf-co.re/usage/troubleshooting)
- [nf-core/circrna pipeline documentation](https://nf-co.re/circrna/usage)

- type: textarea
id: description
attributes:
label: Description of the bug
description: A clear and concise description of what the bug is.
validations:
required: true

- type: textarea
id: command_used
attributes:
label: Command used and terminal output
description: Steps to reproduce the behaviour. Please paste the command you used to launch the pipeline and the output from your terminal.
render: console
placeholder: |
$ nextflow run ...

Some output where something broke

- type: textarea
id: files
attributes:
label: Relevant files
description: |
Please drag and drop the relevant files here. Create a `.zip` archive if the extension is not allowed.
Your verbose log file `.nextflow.log` is often useful _(this is a hidden file in the directory where you launched the pipeline)_ as well as custom Nextflow configuration files.

- type: textarea
id: system
attributes:
label: System information
description: |
* Nextflow version _(eg. 22.10.1)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
* Version of nf-core/circrna _(eg. 1.1, 1.5, 1.8.2)_
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
blank_issues_enabled: false
contact_links:
- name: Join nf-core
url: https://nf-co.re/join
Expand Down
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Feature request
description: Suggest an idea for the nf-core/circrna pipeline
labels: enhancement
body:
- type: textarea
id: description
attributes:
label: Description of feature
description: Please describe your suggestion for a new feature. It might help to describe a problem or use case, plus any alternatives that you have considered.
validations:
required: true
12 changes: 8 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/circ

## PR checklist

- [ ] This comment contains a description of changes (with reason)
- [ ] `CHANGELOG.md` is updated
- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] Documentation in `docs` is updated
- [ ] If necessary, also make a PR on the [nf-core/circrna branch on the nf-core/test-datasets repo](https://github.com/nf-core/test-datasets/pull/new/nf-core/circrna)
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/circrna/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/circrna _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
- [ ] Output Documentation in `docs/output.md` is updated.
- [ ] `CHANGELOG.md` is updated.
- [ ] `README.md` is updated (including new tool citations and authors/contributors).
5 changes: 0 additions & 5 deletions .github/markdownlint.yml

This file was deleted.

Loading