Skip to content

Commit

Permalink
Merge pull request #198 from luisas/test
Browse files Browse the repository at this point in the history
WIP: Modules updates and docs fixes
  • Loading branch information
luisas authored Feb 15, 2025
2 parents 93b19e3 + 97900fb commit 5cfb00e
Show file tree
Hide file tree
Showing 13 changed files with 38 additions and 21 deletions.
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
9 changes: 7 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
},
"fastqc": {
"branch": "master",
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
"installed_by": ["modules"]
},
"foldmason/createdb": {
"branch": "master",
"git_sha": "0270c0fbbbb09456d7823605e4285c4a2c5bbf40",
Expand Down Expand Up @@ -110,7 +115,7 @@
},
"tcoffee/align": {
"branch": "master",
"git_sha": "3e548877f25a5980a177cc4f81d2d2e8c24164ef",
"git_sha": "a380f1dade8d24fea92176d0ffaa5ab6235b8e15",
"installed_by": ["modules"]
},
"tcoffee/alncompare": {
Expand All @@ -136,7 +141,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.

10 changes: 7 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

0 comments on commit 5cfb00e

Please sign in to comment.