Skip to content

Apsis/Razor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Razor

  • A restriction enzyme explorer for DNA sequence analysis!
  • Made by Athanasios Bourganos.
  • Video of episode 1 of this project is here:

Introduction:

Razor is a tool that quickly scans a DNA nucleotide sequence looking for one-cut restriction enzymes. These restriction enzymes will cut the DNA exacty once (in one spot) and will leave two strands behind (left and right). Once restriction enzyme sites are found, the tool can explore the cuts made by selected enzymes.

Requirements:

  • Python 3.6.1 or greater
  • A text file containing the uppercase DNA nucleotides of a 5' to 3' DNA strand (the file dnatest.txt provided is an example of this) Base pairs below in left colomn can be used:
Code Represents Complement
A
Adenine T
G
Guanine C
C
Cytosine G
T
Thymine A
Y
Pyrimidine (C or T)
R
R
Purine (A or G)
Y
W
weak (A or T)
W
S
strong (G or C)
S
K
keto (T or G)
M
M
amino (C or A)
K
D
A, G, T (not C)
H
V
A, C, G (not T)
B
H
A, C, T (not G)
D
B
C, G, T (not A)
V
X/N any base X/N
-
Gap
-

Commands:

We are using python 3 so each command begins with 'python3'. This may be 'python' or 'python3' on your system but hopeully you will be able to figure this out! After CDing into the directory where these project files are:

  • For a list of commands type: python3 main.py
  • To use the analyze function type: python3 main.py --analyze dnatest.txt
  • To use the cut function type: python3 main.py --cut dnatest.txt <enzyme name copied from analysis list>
  • To use the search function type: python3 --search dnatest.py <sequence to search for>

alt text

To use the makereport function type: python3 main.py --makereport dnatest.py

alt text

which outputs a text file with the name dnatest_report.txt like this:

alt text

Final Note:

Thank you for your interest, and happy programming!

About

A restriction enzyme explorer for DNA sequence analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages