Home > Share modules

Share modules

 

If you want to share modules, please submit files to us ()


 

Neural network modules (Released on 1/13/2015)

  NeuralNet.java

  This java class is for artificial neural network prediction.
       You can load a trained neural network file (*.vgn) created by Visual Gene Developer,
       then use it to predict output values for any given input values in your program.
       Currently, this class does not include modules for training neural networks.
       In addition, only the hyperbolic tangent function (transfer function) is supported.

 

Service Pack I (Released on 6/2/2012)

  Note: the latest version of Visual Gene Developer already included this file.

Module name Description Source code (VBScript)
DNA length Returns the length of DNA

Function Main()

   SourceSeq=GeneConstruct.DefaultTargetSeq

   Main=Len(SourceSeq)

End Function

Codon Usage Return tabulated string of codon usage

Function Main()

     SourceSeq=GeneConstruct.DefaultTargetSeq

     Call GeneService.Calculate_CodonUsage(SourceSeq)

    CodonCount=Int(Len(SourceSeq)/3)

    Temp=""

     For q=1 to 64

          Temp=Temp +  FormatNumber (GeneService.Get_CodonUsage_Count(q)/CodonCount,4) + ","

     Next

 

     Main=Temp

End Function

Check Start codon (ATG) If the first codon is ATG then return "True"
 

Function Main()

       SourceSeq=GeneConstruct.DefaultTargetSeq

        If  UCase(Left(SourceSeq,3))="ATG"   Then     

             Main="True"

       Else  

             Main="False"

       End  If    

End Function

Check Stop codon (TAA, TGA, TAG) If the last codon is stop codon then return "True"

Function Main()

       SourceSeq=GeneConstruct.DefaultTargetSeq

       TheLastCodon=UCase(Right(SourceSeq,3))

 

       If  TheLastCodon="TAA" or TheLastCodon="TGA" or TheLastCodon="TAG" Then     

             Main="True"

       Else  

             Main="False"

       End  If    

 End Function