Skip to content

Commit

Permalink
added mermaid code block to try to render flowcharts
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicaw9910 committed Jul 19, 2024
1 parent 2c12065 commit c8f029d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nextflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ It is recommended that each workflow in `main.nf` is run sequentially to allow f
- The first workflow runs [`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/) on the raw fastq files and then [`MultiQC`](http://multiqc.info/) on those results
- To run this workflow alone use: `nextflow run main.nf -params-file params.json -profile iris -entry FASTQC_FASTQ`

```mermaid
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
Expand Down Expand Up @@ -54,11 +55,13 @@ flowchart TB
</script>
</body>
</html>
```

2. **Trimming and QC**
- The second workflow runs [`fastp`](https://github.com/OpenGene/fastp) to trim adapters and/or poly-X or poly-A tails, followed by [`FastQC`](https://www.bioinformatics.babraham.ac.uk/projects/fastqc/) and [`MultiQC`](http://multiqc.info/)
- To run this workflow alone use: `nextflow run main.nf -params-file params.json -profile iris -entry FASTP_FASTQ`

```mermaid
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
Expand Down Expand Up @@ -103,11 +106,13 @@ flowchart TB
</script>
</body>
</html>
```

3. **Alignment and indexing**
- The third workflow runs [`STAR`](https://github.com/alexdobin/STAR) on the adapter-trimmed fastq files followed by [`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/) indexing
- To run this workflow alone use: `nextflow run main.nf -params-file params.json -profile iris -entry STAR_FASTQ`

```mermaid
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
Expand Down Expand Up @@ -152,11 +157,13 @@ flowchart TB
</script>
</body>
</html>
```

4. **Post-alignment QC**
- The fourth workflow runs QC on the resulting BAM files ([`SAMtools`](https://sourceforge.net/projects/samtools/files/samtools/) `flagstat` and various [`RSeQC`](http://rseqc.sourceforge.net/) modules), followed by [`MultiQC`](http://multiqc.info/) on those results
- To run this workflow alone use: `nextflow run main.nf -params-file params.json -profile iris -entry QC_BAM`

```mermaid
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1">
Expand Down Expand Up @@ -221,6 +228,7 @@ flowchart TB
</script>
</body>
</html>
```

## Environment

Expand Down

0 comments on commit c8f029d

Please sign in to comment.