English 中文(简体)
印刷多功能 目的
原标题:Printing a MultipleSeqAlignment Object

I have an alignment of 3 sequences generated by clustalx

AAAACGT Alpha
AAA-CGT Beta
AAAAGGT Gamma

我可以通过<代码>align[:4],把与生物python预先规定的指数挂钩。

然而,印刷结果如下:

AAAA Alpha
AAA- Beta
AAAA Gamma

我怎么能够抓住次点,不印刷以下的名字?

AAAA
AAA-
AAAA

www.un.org/Depts/DGACM/index_spanish.htm 不包括产出Im。

问题回答

我首先要问后续问题——什么是<代码>的准确类型?

无论是哪种方式,这似乎都是某种类型的,因此,你不能简单地做.seq。 如果seq 确实是单个条目的财产,你可以做些什么,即使用map加以提取。 职能:

map(lambda el: el.seq, align[:, :4])

你们也许可以做这样的事情:

for x in align[:, :4]:
    print x.seq

或者在打印说明中,你想要做什么。





相关问题
multiFASTA file processing

I was curious to know if there is any bioinformatics tool out there able to process a multiFASTA file giving me infos like number of sequences, length, nucleotide/aminoacid content, etc. and maybe ...

Customizing output of BLAST?

I know this is a very specific question relating to BLAST and Bioinformatics but here goes: I am attempting to use standalone BLAST (I already have downloaded it and tested it running on the command ...

Calculation of DNA sequences

Could you tell me how I can calculate the DNA sequences by Java using Levenshtein algorithm

R statistical package: wrapping GOFrame objects

I m trying to generate GOFrame objects to generate a gene ontology mapping in R for unsupported organisms (see http://www.bioconductor.org/packages/release/bioc/vignettes/GOstats/inst/doc/...