nucleic_acid 0.0.7 copy "nucleic_acid: ^0.0.7" to clipboard
nucleic_acid: ^0.0.7 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();

  // Get sub sequence(部分的な取り出し)
  NucleotideSequence gac = NucleotideSequence("attgac").subSeq(3);
}
0
likes
150
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

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on nucleic_acid