Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BED file #1

Open
amitpande74 opened this issue Dec 25, 2023 · 1 comment
Open

BED file #1

amitpande74 opened this issue Dec 25, 2023 · 1 comment

Comments

@amitpande74
Copy link

Hi,
I ran this command
python safe_harbor.py -i "test.bed"

My BED file is formatted like this :
id position
chr10 662214 662257
chr10 2125062 2125105
chr10 2513114 2513157
chr10 3618171 3618214
chr10 4458513 4458556

the error I am getting
AttributeError: 'numpy.int64' object has no attribute 'replace'
Traceback (most recent call last):
File "safe_harbor.py", line 151, in
input_data['chr'], input_data['start'], input_data['stop'] = zip(*input_data.apply(get_bed_file, axis=1))
TypeError: zip argument #1 must support iteration

Do I calculate the safe harbors using the instructions listed here
https://github.com/erikaznauryan/GSH-1#prerequisites and then run the intersect tool using the genomic regions of interest ?
Kindly advice.

@dewshr
Copy link
Owner

dewshr commented Dec 25, 2023

hi, your input file is not in correct format, please check this link for format
input format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants