Skip to content

SaradaPriyaMns/GC-content-analyzer-app

Repository files navigation

gc-content-analyzer app

A Shiny web application to analyze DNA sequences for GC content and nucleotide composition (A, T, G, C).
Upload a FASTA file or paste a sequence to instantly visualize and download results.


Features

  • Upload multi-sequence FASTA files or paste a DNA string
  • Calculate GC content and base percentages for each sequence
  • Visualize nucleotide composition via interactive bar plots
  • Export summary data to CSV
  • Download selected sequences GC content

App Preview

🔹 Main Interface

Main UI

🔹 Nucleotide Composition Plot

Plot

🔹 Summary Table

Table


Try It Out

  1. Clone the repo or download it as a .zip

  2. Open GC_Content_analyser.R in RStudio

  3. Run the app with:

    shiny::runApp()
  4. Upload a FASTA file or paste a DNA sequence

  5. Explore GC content, view base composition plots, and download results

  6. You can test the app using the included sequence.fasta file (tracked via Git LFS)


📚 Dependencies

# Install Biostrings from Bioconductor
if (!requireNamespace("BiocManager")) install.packages("BiocManager")
BiocManager::install("Biostrings")

# Install required CRAN packages
install.packages(c("shiny", "ggplot2", "DT", "bslib"))

📄 License

MIT License — see LICENSE


👤 Author

Naga Sai Sarada Priya Mandala

If you found this useful, feel free to ⭐ the repo or share it!


About

Interactive R Shiny app for visualizing GC content and nucleotide composition from FASTA sequences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages