Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
29122cb
Template update for nf-core/tools version 3.3.1
nf-core-bot Jun 3, 2025
6593947
Template update for nf-core/tools version 3.3.2
nf-core-bot Jul 8, 2025
eeae652
Template update for nf-core/tools version 3.4.1
nf-core-bot Oct 16, 2025
bf2a906
Template update for nf-core/tools version 3.5.1
nf-core-bot Nov 20, 2025
0aaf1a8
Template update for nf-core/tools version 4.0.2
nf-core-bot Apr 30, 2026
b4b4978
Merge branch 'TEMPLATE' of https://github.com/nf-core/multiplesequenc…
JoseEspinosa May 20, 2026
e7df212
Bring back ci until nf-test are implemented
JoseEspinosa May 20, 2026
e48b17e
FIx tyop
JoseEspinosa May 20, 2026
9bdbb92
Move classes to lib directory and other fixes in utils_nfcore_multipl…
JoseEspinosa May 20, 2026
b528b3f
Fix error in multiplesequencealign
JoseEspinosa May 20, 2026
7b40a22
Make lint happy
JoseEspinosa May 20, 2026
790022a
Make nf-core lint happy
JoseEspinosa May 20, 2026
588db7d
Update nextflow version for ci
JoseEspinosa May 20, 2026
56c457d
Update fastqc
JoseEspinosa May 20, 2026
4eb9461
Convert classes in utlls to functions, aligned with current nf-core g…
JoseEspinosa May 20, 2026
1ff6d4d
Update nf-test default test to make nf-core lint happy
JoseEspinosa May 20, 2026
aeebd41
Add files to files_unchaged
JoseEspinosa May 20, 2026
19c28eb
Replace conditional publishDir blocks with enabled
JoseEspinosa May 20, 2026
f52de2a
Update mafft align module to make lint happy
JoseEspinosa May 20, 2026
f30828f
Get rid of versions for mafft after update
JoseEspinosa May 20, 2026
d239c61
Increase disk size for nf-test
JoseEspinosa May 20, 2026
9144d0d
Increase more nf-test runners for ci
JoseEspinosa May 20, 2026
237cdc4
Mas madera!
JoseEspinosa May 20, 2026
c621b7a
Update learnmsa module
JoseEspinosa May 20, 2026
91ec2cf
Reduce disk back since the problem was not the disk size
JoseEspinosa May 20, 2026
72be577
Increase volume for nf-test again
JoseEspinosa May 20, 2026
490f9ec
Más madera!
JoseEspinosa May 20, 2026
6e79051
Update toolsheet input, LEARNMSA removed parameter
JoseEspinosa May 21, 2026
e05e0fb
Add nf-test default test snapshot
JoseEspinosa May 22, 2026
b76e192
Get rid of variable files in nf-test snapshots
JoseEspinosa May 22, 2026
47c74e2
Use trace_report_suffix parameter to name coo2print files
JoseEspinosa May 22, 2026
14c3163
Increase resources for LEARNMSA on nf-test
JoseEspinosa May 22, 2026
be330f8
Update to the newest toolsheet v1.2 for nf-test
JoseEspinosa May 22, 2026
18e71db
Update snapshots
JoseEspinosa May 22, 2026
0e4bf7f
Change ci runners for nf-test to increase available memory
JoseEspinosa May 22, 2026
52e284e
Merge branch 'merging-template-4.0.2' of https://github.com/JoseEspin…
JoseEspinosa May 22, 2026
63ab498
Increase memory for nf-test
JoseEspinosa May 26, 2026
908ed76
Try freeing memory first
JoseEspinosa May 26, 2026
b670e79
Use the same input and output than on ci.yml
JoseEspinosa May 26, 2026
fb43923
Remove unused volume
JoseEspinosa May 26, 2026
1f0bb30
Revert last change
JoseEspinosa May 26, 2026
0a17704
Update runners now that toolsheet is correctly passed to test config
JoseEspinosa May 26, 2026
4613ef6
Increase memory for nf-test
JoseEspinosa May 27, 2026
1281348
Fix c/p tyop
JoseEspinosa May 27, 2026
5ddecea
Update the correct runner
JoseEspinosa May 27, 2026
871118b
Fix config
JoseEspinosa May 27, 2026
01a62a6
c/p process config from test configuration
JoseEspinosa May 27, 2026
0ca64df
update snapshots
JoseEspinosa May 27, 2026
64c7768
Update .nftignore and snapshots
JoseEspinosa May 27, 2026
72df2ad
Make lint happy
JoseEspinosa May 27, 2026
595559f
Update test
JoseEspinosa May 28, 2026
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
29 changes: 15 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],
"image": "nfcore/devcontainer:latest",

// 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"
},
"remoteUser": "root",
"privileged": true,

// 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"]
}
"remoteEnv": {
// Workspace path on the host for mounting with docker-outside-of-docker
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
},

"onCreateCommand": "./.devcontainer/setup.sh",

"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
}
}
13 changes: 13 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Customise the terminal command prompt
echo "export PROMPT_DIRTRIM=2" >> $HOME/.bashrc
echo "export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '" >> $HOME/.bashrc
export PROMPT_DIRTRIM=2
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '

# Update Nextflow
nextflow self-update

# Update welcome message
echo "Welcome to the nf-core/multiplesequencealign devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
37 changes: 0 additions & 37 deletions .editorconfig

This file was deleted.

129 changes: 0 additions & 129 deletions .github/CONTRIBUTING.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ These are the most common things requested on pull requests (PRs).

Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release.

Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/multiplesequencealign/tree/master/.github/CONTRIBUTING.md)
Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/multiplesequencealign/tree/master/docs/CONTRIBUTING.md)
-->

## PR checklist

- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/multiplesequencealign/tree/master/.github/CONTRIBUTING.md)
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/multiplesequencealign/tree/master/docs/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/multiplesequencealign _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core pipelines lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
Expand Down
69 changes: 69 additions & 0 deletions .github/actions/get-shards/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: "Get number of shards"
description: "Get the number of nf-test shards for the current CI job"
inputs:
max_shards:
description: "Maximum number of shards allowed"
required: true
paths:
description: "Component paths to test"
required: false
tags:
description: "Tags to pass as argument for nf-test --tag parameter"
required: false
outputs:
shard:
description: "Array of shard numbers"
value: ${{ steps.shards.outputs.shard }}
total_shards:
description: "Total number of shards"
value: ${{ steps.shards.outputs.total_shards }}
runs:
using: "composite"
steps:
- name: Install nf-test
uses: nf-core/setup-nf-test@4069fbbaabe94c08faba4ad261bfa88225ba133f # v2
with:
version: ${{ env.NFT_VER }}
- name: Get number of shards
id: shards
shell: bash
run: |
# Run nf-test with dynamic parameter
nftest_output=$(nf-test test \
--profile +docker \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--dry-run \
--ci \
--changed-since HEAD^) || {
echo "nf-test command failed with exit code $?"
echo "Full output: $nftest_output"
exit 1
}
echo "nf-test dry-run output: $nftest_output"

# Default values for shard and total_shards
shard="[]"
total_shards=0

# Check if there are related tests
if echo "$nftest_output" | grep -q 'No tests to execute'; then
echo "No related tests found."
else
# Extract the number of related tests
number_of_shards=$(echo "$nftest_output" | sed -n 's|.*Executed \([0-9]*\) tests.*|\1|p')
if [[ -n "$number_of_shards" && "$number_of_shards" -gt 0 ]]; then
shards_to_run=$(( $number_of_shards < ${{ inputs.max_shards }} ? $number_of_shards : ${{ inputs.max_shards }} ))
shard=$(seq 1 "$shards_to_run" | jq -R . | jq -c -s .)
total_shards="$shards_to_run"
else
echo "Unexpected output format. Falling back to default values."
fi
fi

# Write to GitHub Actions outputs
echo "shard=$shard" >> $GITHUB_OUTPUT
echo "total_shards=$total_shards" >> $GITHUB_OUTPUT

# Debugging output
echo "Final shard array: $shard"
echo "Total number of shards: $total_shards"
Loading
Loading