Skip to content

Comments

added calculation of percent GC and printing result to stdout#8

Open
gtiley wants to merge 3 commits intomainfrom
gpt-gc-count-dev
Open

added calculation of percent GC and printing result to stdout#8
gtiley wants to merge 3 commits intomainfrom
gpt-gc-count-dev

Conversation

@gtiley
Copy link
Collaborator

@gtiley gtiley commented Feb 12, 2025

Description

Calculated percent GC by counting characters in sequence strings from a fastq. Uses only bash on lines 30-41 of fastq-peek.sh

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Tested by recovering correct percentage of 50% from sample.fq test data included in repo. Assumes only ACGTN nucleotides are present in fastq files.

Checklist:

  • My code adheres to the repository style guide
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing tests pass locally with my changes

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