Docsity

Bioinformatics Data Analysis: A Practical Step-by-Step Guide Using NCBI, BLAST & Biopython, Study Guides, Projects, Research of Bioinformatics

Partial preview of the text

Download Bioinformatics Data Analysis: A Practical Step-by-Step Guide Using NCBI, BLAST & Biopython and more Study Guides, Projects, Research Bioinformatics in PDF only on Docsity!

By

Biotech-Engineer | Aisha Amr EL-araby

From NCBI to BLAST and

Biopython – A

Complete Beginner's

Guide

B i o i n f o r m a t i c s W o r k f l o w

Learn how to retrieve, analyze, and visualize biological

sequence data through a complete hands-on workflow

using the BRCA1 gene.

Retrieve the BRCA1 gene sequence from the NCBI database.

Understand the basic information available in a gene record.

Download the DNA sequence in FASTA format.

Perform a BLAST search to compare the sequence with

biological databases.

Interpret key BLAST results, including E-value, Percent Identity,

and Query Coverage.

Import and analyze the sequence using Biopython.

Perform simple sequence analysis, such as sequence length and

nucleotide composition.

Create basic visualizations to summarize biological data.

Follow a complete, step-by-step workflow that can be applied to

other genes in future projects.

IntroductionIntroduction

  • This practical guide is designed to help beginners learn the

basic workflow of bioinformatics data analysis using the

BRCA1 gene as a real-world example.

-In This Guide, You Will Learn:-In This Guide, You Will Learn:

-Step 2: Exploring the BRCA1 Gene Record-Step 2: Exploring the BRCA1 Gene Record

Key Information in the Gene RecordKey Information in the Gene Record

When you open the BRCA1 gene record in NCBI, you will find several important details that are useful for biological analysis:

  • Gene Symbol (BRCA1): The official abbreviation used to identify the gene.
  • Full Gene Name: Displays the complete scientific name of the gene.
  • Organism: Indicates the species from which the gene originates (e.g., Homo sapiens).
  • Gene ID: A unique identifier assigned by NCBI for easy reference and database searches.
  • Chromosomal Location: Shows the chromosome where the gene is located within the genome.
  • Summary: Provides a brief overview of the gene's biological function and significance.

-Tip:-Tip:

Before downloading any sequence, always verify that the organism and gene name are correct to ensure accurate downstream analysis.

Figure 3

-Step 3: Accessing the BRCA1 Reference Transcript-Step 3: Accessing the BRCA1 Reference Transcript

Click the MANE Select transcript

-Accessing the Reference Transcript:

The MANE Select transcript represents the recommended reference sequence for the BRCA1 gene. It is jointly selected by NCBI and Ensembl to provide a consistent and reliable transcript for research and educational purposes.

-Accessing the Reference Transcript:

-Tip:-Tip:

Choosing the MANE Select transcript helps ensure consistency when performing sequence analysis and BLAST searches.

Figure 4

-Step 5: Exploring the Downloaded FASTA File-Step 5: Exploring the Downloaded FASTA File

Figure 7. Opening the downloaded FASTA file using a text editor.

From your computer Open downloads then choose the sequence file

Header

Nucleotide Sequence

-Key Components of a FASTA File-Key Components of a FASTA File

Header Line: Contains the accession number, sequence description, and organism information. Nucleotide Sequence: Represents the DNA or RNA sequence using nucleotide letters.

Header Line: Nucleotide Sequence:

-Why is the FASTA Format Important?-Why is the FASTA Format Important?

FASTA is compatible with most bioinformatics tools, including BLAST, Biopython, sequence alignment software, and genome analysis pipelines.

-Tip:-Tip:

Always verify that the accession number and organism shown in the header match your intended sequence before starting any analysis.

-Step 6: Accessing NCBI BLAST-Step 6: Accessing NCBI BLAST

First, Search in google NCBI BLASTN then this page will appear. Choose Nucleotide BLAST.

Part II - Sequence AnalysisPart II - Sequence Analysis

Figure 8. The NCBI BLAST homepage.

Choose Browse then

select the fasta file

Figure 9. Opening the Nucleotide BLAST (blastn) tool

-What is BLAST?-What is BLAST?

BLAST (Basic Local Alignment Search Tool) is one of the most widely used bioinformatics tools. It compares a query sequence against biological databases to identify similar sequences and infer potential biological relationships.

-Tip:-Tip:

Choose blastn when comparing nucleotide sequences.

-Step 8: Interpreting BLAST Results-Step 8: Interpreting BLAST Results

Objective: Learn how to interpret the most important information in the BLAST output.

Objective:

-How to Interpret BLAST Results-How to Interpret BLAST Results

Program: Indicates which BLAST algorithm was used. In this guide, we used BLASTN because our query is a nucleotide sequence. Query Length: The total number of nucleotides in the uploaded BRCA1 sequence. Query Cover: Shows the percentage of your sequence that aligns with the database sequence. Percent Identity: Indicates how similar the matched sequence is to the query. E-value: Measures the statistical significance of the match. Lower values indicate more reliable alignments. Top Hit: The first result is usually the best match based on the selected scoring criteria.

Program:

Query Length:

Percent Identity:

Top Hit:

-Tip:-Tip:

For a reference human gene such as BRCA1, the best match is

typically expected to have a 100% Query Cover, very high

Percent Identity, and an E-value close to zero.

Part III – Sequence Analysis with BiopythonPart III – Sequence Analysis with Biopython

Step 9: Reading a FASTA FileStep 9: Reading a FASTA File

-What does this code do?-What does this code do?

mports the SeqIO module from Biopython. Reads a FASTA file. Extracts the sequence ID. Displays the sequence description. Calculates the sequence length.

-Tip:-Tip:

SeqIO.read() is used when the FASTA file contains a single sequence. If a file contains multiple sequences, use SeqIO.parse() instead.

-Step 11: Calculating GC Content-Step 11: Calculating GC Content

Objective: Determine the GC percentage of the BRCA1 sequence.

Objective:

-Why is GC Content Important?-Why is GC Content Important?

Indicates DNA composition. Helps compare different genomes. Influences DNA stability. Frequently reported in bioinformatics analyses.

-Tip:-Tip:

Most bioinformatics pipelines calculate GC content as one of the first sequence statistics.

Pro Tips & Common MistakesPro Tips & Common Mistakes

-Pro Tips:

Always download sequences from trusted databases such as NCBI.

Use the MANE Select transcript whenever available.

Keep your FASTA files organized using descriptive names.

Double-check the organism before starting any analysis.

Save your BLAST results for future reference.

-Common Mistakes:

Downloading the wrong transcript.

Using Protein BLAST instead of Nucleotide BLAST.

Editing FASTA files incorrectly.

Forgetting the > header line.

Running Biopython on the wrong file.

-Final Notes:-Final Notes:

This guide demonstrated a complete beginner- friendly bioinformatics workflow using the BRCA gene—from retrieving a sequence in NCBI to analyzing it with BLAST and Biopython.