You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to call cooltools.api.snipping.pileup(clr,features_df=peak_df , flank=300_000), where :
peak_df = pd.read_csv(f"ctcf.enhancer.promoters/{peak}.bed", sep="\t", names=['chrom', "start", "end"]), as per the cooltools feature_df requirements. I am not passing in a view_df, but when the API attempts to construct one, I get an error :
File "conda/envs/matrix/lib/python3.8/site-packages/bioframe/core/construction.py", line 229, in make_viewframe
view_df = from_any(regions, name_col=view_name_col, cols=cols)
File "conda/envs/matrix/lib/python3.8/site-packages/bioframe/core/construction.py", line 150, in from_any
raise ValueError(f"Unknown input format: {type(regions)}")
ValueError: Unknown input format: <class 'NoneType'>