Description Usage Arguments Value Author(s) Examples
Knet files are used as inputs for KnetFold secondary structure prediction program
1 |
file |
Name of the CT file being converted to KnetFold file |
ind |
Index used to relabel sequence indexes |
Retuns a string containing the contains of the knet file
JP Bida
1 2 3 4 5 6 7 8 9 10 11 12 13 | pk=makeCt("((((...(((((((.........)))))))...((((.........))))...))))",
"AAAAAAAACCCCCCCCAAAGGGGGGGAUUACCCCUCCUUUAAAAGGGUUUUCCCCCCC"
)
pk$bound[pk$pos==20]=42
pk$bound[pk$pos==19]=43
pk$bound[pk$pos==43]=19
pk$bound[pk$pos==42]=20
### Create a CT file for testing ###
write.table(pk[,c(1,4,2,3,6,5)],file="test.ct",row.names=FALSE,col.names=TRUE)
### Convert CT file to Knet ###
out=ct2knet("test.ct",0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.