Skip to content

This is a tool to select optimal protospacers for CRISPR-Cas10 targeting. This tool can be used in conjunction with recombineering to edit phage (or other) genomes.

License

Notifications You must be signed in to change notification settings

ahatoum/CRISPR-Cas10-Protospacer-Selector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions to Run the Code:

Download and place the two files (MainScript.py, GNfunctions.py) in the same directory. Edit the MainScript.py with your tag and gene sequence (both in  5’-3’ direction). When the code runs, it creates a “Results.txt” file in the same directory that presents the tabulated results. Columns are as follows: Protospacer Coordinate (beginning in 5’ direction), Protospacer Sequence, Antitag Sequence, Spacer Sequence.


Code Description:

MainScript.py takes a gene sequence (in 5’-3’ direction) and crRNA 5’-tag (in 5’-3’ direction) as user inputs, and as outputs, produces all possible 35-nucleotide protospacers that exhibit zero complementarity between the protospacer adjacent anti-tag region and the crRNA 5’-tag. The reverse complement of the tag is first obtained to generate an eight-nucleotide comparison template. Within a loop, a window of eight nucleotides that progressively moves rightward is copied from the gene sequence and compared to the template derived from the user’s tag. In this comparison, when corresponding nucleotides are “not” equal to each other, a logic true is produced. Then the results of these Boolean comparisons are subjected to a logic AND operation among themselves, which yields true only when there is no match at any position between the nucleotides in the moving window and the comparison template. As the loop proceeds, each time the logic AND operation yields true, the beginning 5’-end coordinate of the moving window is recorded in an array with respect to the original gene sequence input, and a “possibility” counter is incremented by one. Each of these coordinates are required to be greater than 35 nucleotides into the gene (measuring from the 5’-end of the gene). Once this loop is completed, another loop begins, in which 35 nucleotides to the left of each recorded coordinate is extracted from the gene sequence—this is called the protospacer. The reverse complement of the protospacer is also generated as an output to indicate the corresponding spacer sequence that would need to be cloned into targeting and editing constructs.

About

This is a tool to select optimal protospacers for CRISPR-Cas10 targeting. This tool can be used in conjunction with recombineering to edit phage (or other) genomes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages