Skip to content

ying-li-python/DNA-analyze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

DNA analysis for primer construction contributions welcome

Tired of generating primers by guessing and trying to predict which nucleotide sequence fits the requirements for PCR/qPCR? This was extremely time-consuming because I had to do this for every gene I wanted to investigate.

To make my PhD research easier, I created a Python program that will tell you whether your primer sequence meets the criteria for efficiency.

Getting Started

You will need to download this folder, and in command line, route to this folder using cd command and run this script.

git clone https://github.com/ying-li-python/DNA-analyze.git
cd DNA-analyze
python main.py

The script will run and will ask you to paste a DNA sequence.

Please paste a DNA sequence (5'->3'): 

Output:

After printing the results, script will automatically asks the user if you would like to analyze another DNA sequence.

Errors

If your DNA sequence contains a non-DNA letter, an error will pop-up and the script will not run.

This is not a valid DNA sequence! Please try again.  

Methods

We would like the script to show:

  • %GC content
  • Sequence length
  • Reverse complemntary sequence (5' -> 3')

For this script, we created nested for-loops and while loops, if else statements, .replace() and len() function.

Author

  • Ying Li

Acknowledgements

About

Analyze a DNA sequence for primer construction

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages