nucleic_acid 0.0.5 copy "nucleic_acid: ^0.0.5" to clipboard
nucleic_acid: ^0.0.5 copied to clipboard

This is a package for nucleic acid analysis support. This package is made for scientists.

example/main.dart

import 'package:nucleic_acid/nucleic_acid.dart';

void main() async {
  NucleotideSequence gene = NucleotideSequence("attgac");
  NucleotideSequence templateDNA =
      gene.complemented(EnumNucleotideSequenceType.dna);

  // Transcription(転写)
  NucleotideSequence mRNA = gene.converted(EnumNucleotideSequenceType.rna);
  NucleotideSequence tRNA = mRNA.complemented(EnumNucleotideSequenceType.rna);

  // Translation(翻訳)
  AminoAcidSequence peptide = AminoAcidSequence(mRNA);

  // Translation(direct)(DNAから直接アミノ酸配列に変換)
  AminoAcidSequence peptideFromDNA = AminoAcidSequence(gene);

  // Extension(延長)
  // attgacattgac
  NucleotideSequence gene2 = gene + gene;
  // attgaccagtta
  NucleotideSequence gene3 = gene + gene.reversed();
  // attgacattgac
  gene.add(gene.reversed(), useDirection: true);

  // Copy(複製)
  NucleotideSequence geneCopy = gene.deepCopy();
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

This is a package for nucleic acid analysis support. This package is made for scientists.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter

More

Packages that depend on nucleic_acid