Witam,
chciałbym otrzymać listę indexów dla SeqRecord znajdujących się w liście f.
Próbowałem zrobić tak:
for x in f:
ind = f.index(x)
print(ind)
Ale otrzymałem błąd:
0
Traceback (most recent call last):
File "C:\Users\...", line 43, in <module>
ind = f.index(x)
File "C:\Users\...\anaconda3\lib\site-packages\Bio\SeqRecord.py", line 803, in __eq__
raise NotImplementedError(_NO_SEQRECORD_COMPARISON)
NotImplementedError: SeqRecord comparison is deliberately not implemented. Explicitly compare the
attributes of interest.
Dziękuje za każdą odpowiedź