8000 GitHub - wehrley/nucleotides
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wehrley/nucleotides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Given a file of nucleotides in the following format:
GATAGGAGTAGTGAGT
GTAGTAGAGTATGATAGTGTA
GATTAGATGATGATG
GATATATAGATATATTAGAT
GATAGATAGT
GATTAAGATATGATAGTAG
GATTAGATAGTAGTAGT
GTATAGATAGTAGTAGTGATGA
GTAGATGATGATAGTAGTAGT
GAAGTAGTGATGAGTAG

For every position in the string, find the breakdown (in percentage) 
for each symbol encountered. The goal of this exercise is to calcu-
late the population percentages for each symbol in each position, 
i.e.: what percentage of times do I see symbol X in position Y? From
the example input data, we would arrive at the following percentages:
 
Position: 1 (A: 0%,  C: 0%, G: 100%, T: 0%)
Position: 2 (A: 80%, C: 0%, G: 0%,   T: 20%)
etc.

usage: 
nucleo_summary.py './data/nucleotides.txt'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0