首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > gene-sequence-model

gene-sequence-model

  • 资源大小:77.00 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

The python codes parses a FASTA file for existing gene sequence, then computes the minimum Levenshtein distance of different gene sequences. It also computes a Hidden Markov Model for each gene sequence using both Viterbi and Posterior decoding method, and detects the position of CpG island. ps1.py: The function readSeqFromFile(filename) parses a FASTA file and detects the genome sequences present in the file. We use the expression "[^ACGT][ ][ACTG ]+ACTG[ ]" to detect the genome sequences, and then remove the newline characters from the genomes. The function translateSeq(seq) translates a gene sequence into its amino acid sequence. The function readFrame(seq) is the function which detects genes from the genome sequence. Any sequence which is a substring of a longer sequence is discarded. To run the program, please give the name of the FASTA or any file as the argument, e.g., "python3.3 ps1.py filename

文 件 列 表

GENE_PYTHON
chr1.fa
ps1.py
ps2.py
ps3-comparison.py
ps3-posterior.py
ps3-viterbi.py
two_genes_yeast.fa

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 11 1小时前 成为了本站会员

  • 开心快活人 4小时前 成为了本站会员

  • 晋财 5小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

  • Li 2天前 成为了本站会员

0.224736s