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

WIP: Modules updates and docs fixes #198

Merged
merged 6 commits into from
Feb 15, 2025
Merged
Show file tree
Hide file tree
Changes from 5 commits
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ Main steps:

<details>
<summary><strong>Guide Tree</strong> (Optional)</summary>
<p>Renders a guide tree with a chosen tool (list available in <a href="docs/usage.md#2-guide-trees">usage</a>). Some aligners use guide trees to define the order in which the sequences are aligned.</p>
<p>Renders a guide tree with a chosen tool (list available in <a href="https://nf-co.re/multiplesequencealign/usage.md#2-guide-trees">usage</a>). Some aligners use guide trees to define the order in which the sequences are aligned.</p>
</details>

<details>
<summary><strong>Align</strong> (Required)</summary>
<p>Aligns the sequences with a chosen tool (list available in <a href="docs/usage.md#3-align">usage</a>).</p>
<p>Aligns the sequences with a chosen tool (list available in <a href="https://nf-co.re/multiplesequencealign/usage.md#3-align">usage</a>).</p>
</details>

<details>
Expand All @@ -53,7 +53,7 @@ Main steps:

<br>

More introctory material: [talk](https://www.youtube.com/watch?v=suNulysHIN0) from the nextlow summit, [poster](docs/images/poster-nf-msa.pdf).
More introductory material: [talk](https://www.youtube.com/watch?v=suNulysHIN0) from the nextlow summit, [poster](https://github.com/nf-core/multiplesequencealign/blob/dev/docs/images/poster-nf-msa.pdf).

![Alt text](docs/images/nf-core-msa_metro_map.png?raw=true "nf-core-msa metro map")

Expand Down Expand Up @@ -235,7 +235,7 @@ Which resources is the pipeline using? You can find the default resources used i

If you are using specific profiles, e.g. [test](conf/test.config), these will overwrite the defaults.

If you want to modify the needed resources, please refer [usage](https://nf-co.re/multiplesequencealign/dev/docs/usage/#custom-configuration).
If you want to modify the needed resources, please refer [usage](https://nf-co.re/multiplesequencealign/docs/usage/#custom-configuration).

## Pipeline output

Expand Down
4 changes: 2 additions & 2 deletions bin/shiny_app/shiny_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def merge_aligner_args(row):
"seqlength_mean": "Mean Sequence Length",
"realtime_tree": "Tree Building Time (min)",
"realtime_aligner": "Alignment Time (min)",
"vmem_tree": "Tree Building Memory (GB)",
"vmem_aligner": "Alignment Memory (GB)",
"rss_tree": "Tree Building Memory (GB)",
"rss_aligner": "Alignment Memory (GB)",
"plddt": "Average pLDDT",
"NiRMSD": "NiRMSD",
"aligner": "Assembly",
Expand Down
6 changes: 6 additions & 0 deletions conf/test_full.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ process {
memory: '15.GB',
time: '4.h'
]

withName: "LEARNMSA_ALIGN"{
memory : '20.GB'
time : '4.h'
cpus : 4
}
}


Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ work # Directory containing the nextflow working files
```

:::note
We have a lot of use cases examples under [FAQs]("https://nf-co.re/multiplesequencealign/usage/FAQs)
We have a lot of use cases examples under [FAQs](https://nf-co.re/multiplesequencealign/usage/FAQs)
:::

## Samplesheet input
Expand Down
4 changes: 2 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
},
"tcoffee/align": {
"branch": "master",
"git_sha": "3e548877f25a5980a177cc4f81d2d2e8c24164ef",
"git_sha": "6c2b47b2e26cf091cfce73658709823675833978",
"installed_by": ["modules"]
},
"tcoffee/alncompare": {
Expand All @@ -136,7 +136,7 @@
},
"tcoffee/regressive": {
"branch": "master",
"git_sha": "66b22564bc1bc0db7292f2073cdef954ead773e7",
"git_sha": "6c2b47b2e26cf091cfce73658709823675833978",
"installed_by": ["modules"]
},
"tcoffee/seqreformat": {
Expand Down
3 changes: 3 additions & 0 deletions modules/nf-core/tcoffee/align/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions modules/nf-core/tcoffee/align/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/tcoffee/align/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions modules/nf-core/tcoffee/regressive/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/tcoffee/regressive/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/tcoffee/regressive/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ def saveMapToCsv(List<Map> data, String fileName) {
row.values().join(',')
}.join('\n')

// make sure that the null are replaced by empty strings
csvContent = csvContent.replaceAll("null", "")

// Write headers and CSV content to the specified file
new File(fileName).withWriter { writer ->
writer.write(headers + '\n' + csvContent + '\n')
Expand Down
6 changes: 0 additions & 6 deletions workflows/multiplesequencealign.nf
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,6 @@ workflow MULTIPLESEQUENCEALIGN{
.map { it -> [ [ id: params.pdbs_dir.split("/")[-1].split("\\.")[0] ], it ] }
.groupTuple(by: 0)
.set { ch_optional_data }
if(!params.skip_pdbconversion){
CUSTOM_PDBSTOFASTA(ch_optional_data)
ch_versions = ch_versions.mix(CUSTOM_PDBSTOFASTA.out.versions)
ch_seqs = CUSTOM_PDBSTOFASTA.out.fasta
}


}else{
// Identify the sequence IDs from the input fasta file(s)
Expand Down
Loading