Click here to Skip to main content
15,891,248 members
Articles / General Programming / Algorithms

AzharDNA New Bioinformatics Program (DNA Translation)

Rate me:
Please Sign up or sign in to vote.
4.21/5 (7 votes)
4 Mar 2014CPOL2 min read 27.5K   541   13  
Basic tool for the translation of DNA
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dnaproDataSet" targetNamespace="http://tempuri.org/dnaproDataSet.xsd" xmlns:mstns="http://tempuri.org/dnaproDataSet.xsd" xmlns="http://tempuri.org/dnaproDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="dnaproConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dnaproConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AzharDNA.Properties.Settings.GlobalReference.Default.dnaproConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="dnaproTableAdapter" GeneratorDataComponentClassName="dnaproTableAdapter" Name="dnapro" UserDataComponentName="dnaproTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="dnaproConnectionString (Settings)" DbObjectName="dbo.dnapro" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[dnapro] ([dna], [aminoacid]) VALUES (@dna, @aminoacid)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@dna" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="dna" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@aminoacid" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="aminoacid" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT dna, aminoacid FROM dbo.dnapro</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="dna" DataSetColumn="dna" />
              <Mapping SourceColumn="aminoacid" DataSetColumn="aminoacid" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dnaproDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="dnaproDataSet" msprop:Generator_UserDSName="dnaproDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="dnapro" msprop:Generator_TableClassName="dnaproDataTable" msprop:Generator_TableVarName="tablednapro" msprop:Generator_TablePropName="dnapro" msprop:Generator_RowDeletingName="dnaproRowDeleting" msprop:Generator_UserTableName="dnapro" msprop:Generator_RowChangingName="dnaproRowChanging" msprop:Generator_RowEvHandlerName="dnaproRowChangeEventHandler" msprop:Generator_RowDeletedName="dnaproRowDeleted" msprop:Generator_RowEvArgName="dnaproRowChangeEvent" msprop:Generator_RowChangedName="dnaproRowChanged" msprop:Generator_RowClassName="dnaproRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="dna" msprop:Generator_ColumnVarNameInTable="columndna" msprop:Generator_ColumnPropNameInRow="dna" msprop:Generator_ColumnPropNameInTable="dnaColumn" msprop:Generator_UserColumnName="dna">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="aminoacid" msprop:Generator_ColumnVarNameInTable="columnaminoacid" msprop:Generator_ColumnPropNameInRow="aminoacid" msprop:Generator_ColumnPropNameInTable="aminoacidColumn" msprop:Generator_UserColumnName="aminoacid">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Agriculture Genetic Engineering Research Institute
Egypt Egypt
I have adored bioinformatics since my second year in college and then I specialized in this field in my final year in biotechnology department, I have learned both C# and Perl Languages to build open soft-wares contain specialized tools in this particular science.
I'm trying to enhance my knowledge in this beautiful field by both reading and writing articles , also I hope to gain both master and doctoral degree in it.
If you have any scholarship, source , opportunity , project or idea which can help me to reach my goal don't hesitate to contact me on :
E-Mail:samman_mahmoud@yahoo.com
Facebook:Samman Mahmoud
Tel: +20118904500

Comments and Discussions