{"id":979,"date":"2024-11-11T16:33:02","date_gmt":"2024-11-11T16:33:02","guid":{"rendered":"https:\/\/alex-jimenez.com\/?post_type=rara-portfolio&#038;p=979"},"modified":"2024-11-19T23:03:31","modified_gmt":"2024-11-19T23:03:31","slug":"nextflow-rnaseq-pipeline","status":"publish","type":"rara-portfolio","link":"https:\/\/alex-jimenez.com\/?rara-portfolio=nextflow-rnaseq-pipeline","title":{"rendered":"NextFlow RNAseq Pipeline"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.nextflow.io\" data-type=\"link\" data-id=\"https:\/\/www.nextflow.io\">Nextflow<\/a> is a powerful workflow management tool designed to streamline and automate data processing pipelines, particularly in bioinformatics. By leveraging domain-specific language (DSL) syntax, Nextflow enables researchers to write complex workflows that are portable, reproducible, and scalable across various computing environments, including local workstations, high-performance computing clusters, and cloud platforms like AWS. Its ability to manage dependencies, parallelize tasks, and efficiently handle large datasets makes it particularly valuable in RNA sequencing (RNAseq) workflows, where it can orchestrate the alignment, quantification, and differential expression analysis steps. With support for containerization through Docker or Singularity, Nextflow ensures consistent environments across different stages of the workflow, significantly enhancing reproducibility and minimizing issues related to software versioning. This robust framework is thus instrumental in advancing reproducible research in data-intensive fields.<\/p>\n\n\n\n<p>The following writeup will go over the practical implementations of a NextFlow RNAseq pipeline from the <a href=\"https:\/\/nf-co.re\/rnaseq\/3.17.0\/\" data-type=\"link\" data-id=\"https:\/\/nf-co.re\/rnaseq\/3.17.0\/\">nf-core<\/a> community, more specifically Patel et al., <a href=\"https:\/\/doi.org\/10.5281\/zenodo.1400710\">10.5281\/zenodo.1400710<\/a>. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">I. Background and Methods<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-OverView-1024x458.png\" alt=\"\" class=\"wp-image-980\" style=\"width:840px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-OverView-1024x458.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-OverView-300x134.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-OverView-768x344.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-OverView-1536x687.png 1536w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-OverView-134x60.png 134w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-OverView.png 1748w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 1: Summary of the tools used in rnaseq nf-core pipeline<\/figcaption><\/figure>\n\n\n\n<p>The pipeline seen above is the RNAseq pipeline created by the nf-core community. It offers a series of quantification, quality, and visualization tools that together provide a gold standard for analysis. To use the NextFlow pipeline above, each of these tools needs to be installed and properly setup, along with a containerized service such as Docker or Singularity. Using a Linux environment is preferred since many of these tools have linux-based binaries. Depending on the Linux operating software, sudo yum or sudo apt-get can be used to install many of these softwares, while some of these softwares are more easily installed using the python installation (pip) manager or R&#8217;s installation manager. <\/p>\n\n\n\n<p>After installing all necessary software, the next step is to create a sample sheet for the samples intended for the pipeline. To set up the workflow, an&nbsp;<em>E. coli<\/em>&nbsp;sample was used initially to test the pipeline before moving on to more computationally intensive samples, such as those from human tissue. This test sample (<a href=\"https:\/\/www.ncbi.nlm.nih.gov\/sra\/?term=SRR959239\" data-type=\"link\" data-id=\"https:\/\/www.ncbi.nlm.nih.gov\/sra\/?term=SRR959239\">SRR959239<\/a>) was downloaded from NCBI&#8217;s Sequence Read Archive<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"238\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Setup-File-1024x238.png\" alt=\"\" class=\"wp-image-982\" style=\"width:840px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Setup-File-1024x238.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Setup-File-300x70.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Setup-File-768x179.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Setup-File-1536x358.png 1536w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Setup-File-258x60.png 258w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Setup-File.png 2018w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 3: Shell script used to run the nf-core\/rnaseq pipeline<\/figcaption><\/figure>\n\n\n\n<p>Once the sample sheet is setup, the following additional parameters need to be specified. <\/p>\n\n\n\n<ul>\n<li>outdir: The output directory for the processed files that come out of the nf-core pipeline<\/li>\n\n\n\n<li>gtf: The genome annotation file used for identifying genes in a given genome<\/li>\n\n\n\n<li>fasta: The genomic sequence for a given genome<\/li>\n\n\n\n<li>profile: The container service to be used<\/li>\n<\/ul>\n\n\n\n<p>NextFlow nf-core requires that sample sheets be setup in the format seen in Figure 2. Below is an example of a sample sheet for a single sample; if multiple samples are used, the format remains the same, with each sample added as a new line.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"243\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Bash-1024x243.png\" alt=\"\" class=\"wp-image-981\" style=\"width:843px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Bash-1024x243.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Bash-300x71.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Bash-768x182.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Bash-1536x365.png 1536w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Bash-253x60.png 253w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/NextFlow-Bash.png 2020w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 2: NextFlow input sample sheet file. <\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/GTF_gff-1024x344.png\" alt=\"\" class=\"wp-image-983\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/GTF_gff-1024x344.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/GTF_gff-300x101.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/GTF_gff-768x258.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/GTF_gff-1536x516.png 1536w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/GTF_gff-179x60.png 179w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/GTF_gff.png 2032w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 3: Genome fasta and annotation files for E. coli genome<\/figcaption><\/figure>\n\n\n\n<p>If everything has been set up correctly, the Nextflow pipeline will start running in the terminal, displaying the status of various processes throughout its execution. Once the pipeline completes, several folders will be generated in the output directory, including&nbsp;<code>fastqc<\/code>,&nbsp;<code>multiqc<\/code>,&nbsp;<code>pipeline_info<\/code>,&nbsp;<code>star_salmon<\/code>, and&nbsp;<code>trim_galore<\/code>. The&nbsp;<code>multiqc<\/code>&nbsp;folder contains the&nbsp;<code>multiqc_report.html<\/code>, which provides the most comprehensive summary of the pipeline\u2019s run status. We&#8217;ll slowly go through the major elements of the quality control report. Note that MultiQC was designed to provide an easy to use Graphic User Interface (GUI) for multiple samples, but only one true sample is shown below<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">MultiQC Outputs<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"561\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/Multiqc-Report-1024x561.png\" alt=\"\" class=\"wp-image-984\" style=\"width:840px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/Multiqc-Report-1024x561.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/Multiqc-Report-300x164.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/Multiqc-Report-768x420.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/Multiqc-Report-1536x841.png 1536w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/Multiqc-Report-2048x1121.png 2048w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/Multiqc-Report-110x60.png 110w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 4: MultiQC report header <\/figcaption><\/figure>\n\n\n\n<p>The General Statistics section in a MultiQC report provides an overview of key metrics and summary statistics for multiple samples or datasets within a single report. It consolidates results from various bioinformatics tools into a unified table, allowing for easy comparison across samples. This section is essential for quickly assessing data quality and identifying any anomalies or outliers across samples in the analysis pipeline, aiding in making informed decisions on further steps. The general statistics for this sample appears to have no reg flags. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">FastQC<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_sequence_counts_plot-1024x683.png\" alt=\"\" class=\"wp-image-990\" style=\"width:840px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_sequence_counts_plot-1024x683.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_sequence_counts_plot-300x200.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_sequence_counts_plot-768x512.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_sequence_counts_plot-90x60.png 90w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_sequence_counts_plot.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 5: Overview of duplicate reads per fastq file <\/figcaption><\/figure>\n\n\n\n<p>The Sequence Counts plot from FastQC in a MultiQC report displays the total number of reads in each sample, offering an immediate visual summary of sequencing depth across the dataset. This plot helps identify any significant discrepancies in read counts between samples, which can indicate issues like sequencing failure, sample loss, or other technical variations. Consistency in sequence counts is often desired for balanced downstream analysis, so this plot is useful for detecting outliers or samples that may require additional attention, such as re-sequencing or further quality control. The two fastq inputs appear to be well balanced, indicating re-sequencing or further quality control is likely not needed. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_base_sequence_quality_plot-1024x683.png\" alt=\"\" class=\"wp-image-991\" style=\"width:840px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_base_sequence_quality_plot-1024x683.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_base_sequence_quality_plot-300x200.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_base_sequence_quality_plot-768x512.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_base_sequence_quality_plot-90x60.png 90w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_base_sequence_quality_plot.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 6: Phred score as a function of the base pair location<\/figcaption><\/figure>\n\n\n\n<p>The Quality Score plot from FastQC in a MultiQC report provides a comprehensive overview of the per-base quality scores across all reads within each sample. This plot is crucial for assessing the reliability of sequencing data, as it visualizes how quality scores fluctuate along the length of the reads. Typically, higher scores at the start of reads indicate good sequencing quality, while scores may decrease toward the end of reads due to sequencing limitations. Samples with consistently high scores are preferable for downstream analyses, as poor quality can affect alignment and variant calling accuracy. The plot also helps identify any samples with significantly lower quality, which may need to be trimmed or filtered before further processing. This visual summary supports quality control efforts by allowing researchers to make informed decisions about the usability and processing of each sample.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_sequence_quality_scores_plot-1024x683.png\" alt=\"\" class=\"wp-image-992\" style=\"width:840px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_sequence_quality_scores_plot-1024x683.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_sequence_quality_scores_plot-300x200.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_sequence_quality_scores_plot-768x512.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_sequence_quality_scores_plot-90x60.png 90w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/fastqc_raw_per_sequence_quality_scores_plot.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 7: Count Distribution of Phred scores <\/figcaption><\/figure>\n\n\n\n<p>The Per Sequence Quality Scores plot in MultiQC provides insight into the average quality scores of individual reads within each sample. This plot is essential for evaluating the overall quality distribution across all reads, helping identify samples with consistent high quality as well as those with potential issues. Ideally, the plot should show a peak at the high-quality end, indicating most reads are reliable. A spread or secondary peak at lower quality scores might suggest potential problems, such as degraded samples or technical issues during sequencing. This view enables researchers to detect samples with substantial proportions of low-quality reads, which may need quality filtering or adjustments before proceeding with downstream analysis. By summarizing read-level quality, this plot aids in early identification of problematic samples that could otherwise introduce noise or errors in the analysis.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/samtools_alignment_plot-1024x683.png\" alt=\"\" class=\"wp-image-994\" style=\"width:840px;height:auto\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/samtools_alignment_plot-1024x683.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/samtools_alignment_plot-300x200.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/samtools_alignment_plot-768x512.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/samtools_alignment_plot-90x60.png 90w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/samtools_alignment_plot.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 8: Samtools alignment scores<\/figcaption><\/figure>\n\n\n\n<p>The alignment scores provided by Samtools in a MultiQC report give a summary of read mapping quality across samples, often including metrics like the percentage of aligned reads, unmapped reads, and the proportion of properly paired reads. High alignment percentages typically suggest good sample quality and compatibility with the reference genome, while lower percentages may indicate sample contamination, poor-quality sequences, or an inadequate reference genome. Properly paired reads are also critical in paired-end sequencing, as they ensure correct fragment size and alignment orientation, adding reliability to downstream analysis. These Samtools alignment metrics are valuable for evaluating the effectiveness of the alignment process and identifying any potential issues with sample quality or compatibility. The Samtools alignment scores for these fastq files does not have any major issues<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"623\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/STAR-Summary-Statistics-1024x623.png\" alt=\"\" class=\"wp-image-995\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/STAR-Summary-Statistics-1024x623.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/STAR-Summary-Statistics-300x183.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/STAR-Summary-Statistics-768x467.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/STAR-Summary-Statistics-1536x935.png 1536w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/STAR-Summary-Statistics-2048x1246.png 2048w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/STAR-Summary-Statistics-99x60.png 99w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 9: STAR alignment scores summary<\/figcaption><\/figure>\n\n\n\n<p>The alignment scores generated by STAR (Spliced Transcripts Alignment to a Reference) and visualized in MultiQC focus on RNA-seq data, where accurate alignment across exon-exon junctions is crucial. STAR provides a range of alignment metrics, including the percentage of uniquely mapped reads, multi-mapped reads (those aligning to multiple locations), and unmapped reads. High percentages of uniquely mapped reads indicate high-quality RNA-seq data, while multi-mapped or unmapped reads may suggest repetitive regions, contamination, or low-quality sequences. STAR&#8217;s ability to align reads spanning splice junctions makes it particularly valuable in transcriptome studies. The data ran for this analysis appears to be very high quality. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>To access the results from the gene alignment, navigate to the star_salmon folder within the output directory that was specified. Within that folder, a list of files and folders similar to those below will be seen. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"726\" src=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-star_salmon-1024x726.png\" alt=\"\" class=\"wp-image-986\" srcset=\"https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-star_salmon-1024x726.png 1024w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-star_salmon-300x213.png 300w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-star_salmon-768x545.png 768w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-star_salmon-85x60.png 85w, https:\/\/alex-jimenez.com\/wp-content\/uploads\/2024\/11\/RNAseq-star_salmon.png 1246w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Figure 10: Star and salmon outputs from NextFlow nf-core\/rnaseq pipeline<\/figcaption><\/figure>\n\n\n\n<p>As can been seen, a ton of data is generated for a single alignment. Thankfully much of the critical data is summarized in the multiqc report shown earlier. From the image above, the salmon gene counts can be seen with various preprocessing techniques applied to them. <\/p>\n\n\n\n<p>As an analyst that likes to control the destiny of the data, starting with the salmon.merged.gene_counts.tsv file would be preferred. This file contains the raw gene counts as determined by Salmon. Note that Salmon doesn\u2019t strictly count reads in the way that aligners like&nbsp;<code>FeatureCounts<\/code>&nbsp;do. Instead, it uses&nbsp;quasi-mapping&nbsp;or&nbsp;alignment-free approaches&nbsp;to estimate the likelihood that a read originated from each possible transcript or gene. When a read maps ambiguously to multiple transcripts or genes, Salmon assigns a probability to each possible source. As a result, the gene counts file will have some genes with non-integer gene counts. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Next Steps<\/h3>\n\n\n\n<p>At this point, the raw gene counts are ready for downstream analysis. The downstream analysis of the count data generated is outside the scope of this analysis. Downstream analysis of count data can be found in this <a href=\"https:\/\/alex-jimenez.com\/?rara-portfolio=scanpy-rnaseq\" data-type=\"link\" data-id=\"https:\/\/alex-jimenez.com\/?rara-portfolio=scanpy-rnaseq\">portfolio<\/a>. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nextflow is a powerful workflow management tool designed to streamline and automate data processing pipelines, particularly in bioinformatics. By leveraging domain-specific language (DSL) syntax, Nextflow enables researchers to write complex workflows that are portable, reproducible, and scalable across various computing environments, including local workstations, high-performance computing clusters, and cloud platforms like AWS. Its ability to &hellip; <\/p>\n","protected":false},"author":1,"featured_media":1006,"comment_status":"open","ping_status":"closed","template":"","rara_portfolio_categories":[],"_links":{"self":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/rara-portfolio\/979"}],"collection":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/rara-portfolio"}],"about":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/types\/rara-portfolio"}],"author":[{"embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=\/wp\/v2\/media\/1006"}],"wp:attachment":[{"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=979"}],"wp:term":[{"taxonomy":"rara_portfolio_categories","embeddable":true,"href":"https:\/\/alex-jimenez.com\/index.php?rest_route=%2Fwp%2Fv2%2Frara_portfolio_categories&post=979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}