~/WGDI/wgdi-example-main/code/deal_gff_ncbi.py:26: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
chr_df[8] = chr_df.loc[:,8].apply(extract_chromosome)
Traceback (most recent call last):
File "/data/zhangyi/Yangyang/WGDI/wgdi-example-main/code/deal_gff_ncbi.py", line 73, in <module>
seq_record.seq = seq_record.id.seq.replace('.', '*')
^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'seq'
老师好,请问我使用deal_gff_ncbi.py去准备输入文件的时候,为什么会出现这样的报错呢,我的数据都是从ncbi下载的
WGDI - 推断祖先核型0.仅作个人笔记使用意思就是只考虑我能不能看懂具体每个参数的含义参照官方文档, 这里全部用默认参数https://wgdi.readthedocs.io/en/latest/...