Skip to content

Louis-Petingi/Partition-Algorithm-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Partition-Algorithm-3

Updated Partition Algorithm to classify psedudoknots as either recursive or non-recursive The algorithm is written in C++. The program takes the adjacency matrix of the dual-graph representation of an RNA Secondary Structure and splits the graphs into blocks. Then the algorithm classifies each block either as a Pseudoknot (PK) or Pseudoknot-free region. The output of the program is the partition of the dual-graph into blocks and the algorithm classifies each of the blocks as either a pseudoknot or pseudoknot-free region. In the main C++ routine the input is the file: infile.open("C:/Users/lpetn_000/desktop/RnaDv/PKB236.txt"). For example RNA PKB 236 dual-graph has 7 vertices (corresponding to 7 stems) labeled 0 thru 6 and its adjacency matrix is:

0 2 0 0 0 0 1 2 0 2 0 0 0 0
0 2 0 2 0 0 0
0 0 2 0 2 0 0
0 0 0 2 0 2 0
0 0 0 0 2 0 2
1 0 0 0 0 2 0

When the program is run, the user enters first the number of vertices (in this case 7) and the Motif id (in this case PKB 236). The output of the program is written into the file outfile.open("C:/Users/lpetn_000/desktop/RnaDv/PKB236_out.txt"). PKB 236 has only one block that is a PK. The program output is

About

Updated Partition Algorithm to classify psedudoknots as either recursive or non-recursive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages