Monday, December 29, 2014

.Fasta Data Grabber

This will download .fasta files from a site and you can add the web crawler I demonstrated earlier or use a pseudo random string generator if the final ALPHANUMERIC piece is very diverse.


browser.Navigate("http://www.organization.org/whatever/ALPHANUMERIC.fasta")

Dim delLineIndex As New List(Of Integer)
delLineIndex.Add(1)


Adress.text=browser.document.Title;
Adress.text=Replace(Adress.text,"http://www.ORGANIZATION.org/WHATEVER/","")
Adress.text=Replace(Adress.text,".fasta","")



Dim openStream = New StreamReader("F:\Latest.txt")
Dim saveStream = New StreamWriter("F:\"+Adress.text+".txt")


Dim lineStr As String = ""
Dim lineIndex As Integer = 0
Do
    lineStr = openStream.ReadLine()
    If lineStr Is Nothing Then
        Exit Do
    Else
        lineIndex += 1
        If Not delLineIndex.Contains(lineIndex) Then
            saveStream.WriteLine(lineStr)


        End If


    End If
Loop Until lineStr Is Nothing
openStream.Close()
saveStream.Close()

Friday, December 12, 2014

Online VD Updates



Programmers and researchers alike can now collaborate in real time to work on computer or genetic code.

Thursday, December 11, 2014

Computerized DNA Alignment with Compression Variables

I wanted to include a DNA alignment operation in the VD program so I the following algorithm:

DNA can easily be aligned by computerized manipulation of multilevel symbolic variables. For example, if we take a strand:

Actgcaatgccctcagcatgcatatagga

And wish to compare it with:

Tcaaaactgactaaccctcagcatacgta

Then we can start with string a by creating each set of three into letters:
Act=A and so on.


Then we apply these values to the second string. The letters will match up as they do in the first. Then we repeat the matching step so that strings of matching letters are folded and compressed repeatedly, like ladders. Once the minima is reached, the appropriate ladders are expanded and the sequence is thus aligned.