issues
search
TcbfGroup
/
Tcbf
A pipeline for identifying conserved topologically associating domain boundaries among multiple species.
MIT License
13
stars
3
forks
source link
绘图问题
#3
Open
wangzhaohui-001
opened
1 month ago
wangzhaohui-001
commented
1 month ago
老师,你好! 我有几个问题请教一下。
我在运行 tcbf plot-syn-pair --output test --reference BH --chrom Chr05 --start 13000000 --end 13300000 --plot test.pdf 时候出现下面错误,我已经改过bound 和one_to_many Checking dependency! Traceback (most recent call last): File "/home/ug1561/.conda/envs/py39/bin/tcbf", line 7, in
exec(compile(f.read(),
file
, 'exec')) File "/home/ug1561/workspace/wangzhaohui/biosoft/Tcbf-main/bin/tcbf", line 173, in
tcbf() File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/click/core.py", line 1130, in
call
return self.main(
args,
kwargs) File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback,
ctx.params) File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/click/core.py", line 760, in invoke return __callback(
args, **kwargs) File "/home/ug1561/workspace/wangzhaohui/biosoft/Tcbf-main/bin/tcbf", line 158, in plot_syn_pair plot_synteny(output, reference, chrom, start, end, order, plot) File "/home/ug1561/workspace/wangzhaohui/biosoft/Tcbf-main/tcbf/plot_tad_structure.py", line 424, in plot_synteny fig = plot_main(workdir, reference, chrom, start, end, species_order) File "/home/ug1561/workspace/wangzhaohui/biosoft/Tcbf-main/tcbf/plot_tad_structure.py", line 415, in plot_main plot_boundary_pair(workdir, File "/home/ug1561/workspace/wangzhaohui/biosoft/Tcbf-main/tcbf/plot_tad_structure.py", line 343, in plot_boundary_pair tmp = data.loc[:, [reference, s]].dropna().apply(lambda x: x.str.strip()).applymap( File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/pandas/core/generic.py", line 5989, in
getattr
return object.
getattribute
(self, name) AttributeError: 'DataFrame' object has no attribute 'to_list' 2.根据TAD_groups_count将所有大于0的视为保守的,一般情况下这样的区域会在最终结果中占比多少? 以上问题请老师给你帮,谢谢!
老师,你好! 我有几个问题请教一下。