Skip to content

Commit

Permalink
Publish the windowmasker outputs too
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Sep 20, 2024
1 parent f42ad5e commit e1a1597
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,20 @@ process {

withName: "WINDOWMASKER_MKCOUNTS" {
ext.args = "-infmt fasta -sformat obinary"
publishDir = [
path: { "${params.outdir}/repeats/windowmasker" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : filename.substring(0, filename.length() - 3) + "obinary" }
]
}

withName: "WINDOWMASKER_USTAT" {
ext.args = "-infmt fasta -dust T -outfmt fasta"
publishDir = [
path: { "${params.outdir}/repeats/windowmasker" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals("versions.yml") ? null : filename }
]
}

withName: "MINIMAP2_HIC" {
Expand Down
16 changes: 16 additions & 0 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The pipeline is built using [Nextflow](https://www.nextflow.io/) and processes d
- [BlobDir](#blobdir) - Output files viewable on a [BlobToolKit viewer](https://github.com/blobtoolkit/blobtoolkit)
- [Static plots](#static-plots) - Static versions of the BlobToolKit plots
- [BUSCO](#busco) - BUSCO results
- [Repeat masking](#repeat-masking) - Masked repeats (optional)
- [Read alignments](#read-alignments) - Aligned reads (optional)
- [Read coverage](#read-coverage) - Read coverage tracks
- [Base content](#base-content) - _k_-mer statistics (for k ≤ 4)
Expand Down Expand Up @@ -68,6 +69,21 @@ BUSCO results generated by the pipeline (all BUSCO lineages that match the claas

</details>

### Repeat masking

Reults from the repeat-masker step -- only if the pipeline is run with `--mask`.

<details markdown="1">
<summary>Output files</summary>

- `repeats/`
- `windowmasker/`
- `<accession>.fasta`: masked assembly in Fasta format.
- `<accession>.obinary`: frequency counts of repeats, in windowmasker's own binary format.

</details>


### Read alignments

Read alignments in BAM format -- only if the pipeline is run with `--align`.
Expand Down

0 comments on commit e1a1597

Please sign in to comment.