-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Dear Sir/Madam,
While attempting to run DEMETER2 on our shRNA data, I have encountered the following error:
Eliminating 0 promiscuous hairpins
Traceback (most recent call last):
File "/demeter2/modules/fit_demeter2.py", line 161, in
data = preprocess.make_demeter2_data(dsets, sh_targets)
File "/demeter2/modules/preprocess.py", line 83, in make_demeter2_data
target_df = target_df[~target_df['Gene_ID'].str.contains('NO_CURRENT')]
File "/opt/conda/lib/python3.5/site-packages/pandas/core/generic.py", line 2966, in getattr
return object.getattribute(self, name)
File "/opt/conda/lib/python3.5/site-packages/pandas/core/base.py", line 243, in get
return self.construct_accessor(instance)
File "/opt/conda/lib/python3.5/site-packages/pandas/core/strings.py", line 1909, in make_str_accessor
raise AttributeError("Can only use .str accessor with string "
AttributeError: Can only use .str accessor with string values, which use np.object dtype in pandas
Please, advise on how to solve this issue.
Thank you very much.
Sincerely,
Anna Dvorkin-Gheva