randomSeq.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:FMAB 作者: BrendelGroup 项目源码 文件源码
def gen_sequence(comp, length) :
    seq_string = ''

##### Part 3 : Your random sequence generating code goes here
##### Goal   : Fill in seq_string with a random sequence of given composition

    sequence = Seq(seq_string)
    return SeqRecord(sequence, id='Random Sequence', description=comp.__repr__())

##### ALL MODIFICATIONS GO ABOVE THIS LINE #####

### Part 0 : Argument Parsing
### We want out program to have easy-to-use parameters
### We are using the argparse library for this
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号