8000 8000
Skip to content

add insert samtools insert size line graph#3492

Open
chelauk wants to merge 1 commit intoMultiQC:mainfrom
chelauk:samtools_insert_size
Open

add insert samtools insert size line graph#3492
chelauk wants to merge 1 commit intoMultiQC:mainfrom
chelauk:samtools_insert_size

Conversation

@chelauk
Copy link
Copy Markdown
@chelauk chelauk commented Feb 20, 2026
  • This comment contains a description of changes (with reason)
    This PR adds an Insert size distribution section to the Samtools module by parsing IS records from samtools stats output (multiqc/modules/samtools/stats.py) and rendering them as a line plot (samtools_insert_size).

Reason: I routinely use nf-core/sarek for whole genome sequence analysis. Insert-size shape is important QC signal, and viewing it directly in the MultiQC output makes library-size anomalies easier to detect without manually inspecting raw samtools stats files.

  • There is example tool output for tools in the https://github.com/MultiQC/test-data repository or attached to this PR
  • Code is tested and works locally (including with --strict flag)
  • Everything that can be represented with a plot instead of a table is a plot
  • Report sections have a description and help text (with self.add_section)
  • There aren't any huge tables with > 6 columns (explain reasoning if so)
  • Each table column has a different colour scale to its neighbour, which relates to the data (e.g. if high numbers are bad, they're red)
  • Module does not do any significant computational work
  • Each table column has a different colour scale to its neighbour, which relates to the data (e.g. if high numbers are bad, they're red)
  • Module does not do any significant computational work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0