mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-27 07:30:24 +08:00
Update and rename faralog.py to gappiness.py
This commit is contained in:
parent
25b41672b3
commit
c655354a42
@ -38,7 +38,7 @@ def faralog_gaps():
|
||||
split = []
|
||||
#reading the fasta files with Biopython (looping each sequence in a file and populating the empty name and seq lists).
|
||||
for x in SeqIO.parse(args.alignment + '/' + file, "fasta"):
|
||||
if x.id.startswith(args.code):
|
||||
if (args.code != None and x.id.startswith(args.code)) or args.code == None:
|
||||
name.append(x.id)
|
||||
seq.append(x.seq)
|
||||
seq_len.append(len(x.seq))
|
||||
Loading…
x
Reference in New Issue
Block a user