Skip to content

DataHub2/Python_lab1_Zakaria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python_lab1_Zakaria

This is my repository for the Lab, regarding Dna seq.

Task1

You are given several simplified sequences of DNA codes. Your task is to count the number of different DNA letters in each sequence. In reality, this is an essential step for scientists to understand the genetic information from the human cell. Following the instructions below:

  • read the text file called dna_raw.txt
    • each sequence is composed of two lines of data: the first line beginning with > sign is the sequence ID, while the following line is the actual sequence
    • the actual sequence is not case-sensitive, which means that lower and upper case letters are treated the same
  • for each sequence, create a dictionary to count the number of each DNA letter in that sequence
  • for each sequence, graph the frequency of DNA letters for each sequence

Below is an example of a dictionary and graph from a sequence:

About

This is my repository for the Lab, regarding Dna seq.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages