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

QAPA fasta ERRO #40

Closed
wqy399 opened this issue Oct 13, 2020 · 6 comments
Closed

QAPA fasta ERRO #40

wqy399 opened this issue Oct 13, 2020 · 6 comments

Comments

@wqy399
Copy link

wqy399 commented Oct 13, 2020

Hi, when I use QAPA to extract sequences from mm10.fa with the following command: qapa fasta -f mm10_ucsc.fa output_utrs.bed output_sequences.fa, I got this error:TypeError: expected str, bytes or os.PathLike object, not FileInput.
image
Could you please help me to figure out what's wrong with it.
Here is part of the bed file.
image
Would you please help me to figure out what's wrong with that ?

@wqy399
Copy link
Author

wqy399 commented Oct 13, 2020

Python version is 3.7, bedtools version is 2.25.0

@quaidmorris
Copy link

Is mm10_ucsc.fa uncompressed and in the directory that you are calling qapa from?

@wqy399
Copy link
Author

wqy399 commented Oct 14, 2020

Thanks for your reply.
Yes. I am sure the fasta file located correctly in the same directory. And I guess this ERRO has something with the python versions or configs or something like that. This problem really confuses me for days and my lab-mates can not figure out as well.
image
Thats all the files in the directory. I got the output_sequences.fa but it is empty.
A lot thanks for your help!

@kcha
Copy link
Collaborator

kcha commented Oct 14, 2020

Can you try downgrading Biopython (maybe 1.76?). The error seems to be something related to that package. Maybe there was a breaking change, but I'm not sure.

@wqy399
Copy link
Author

wqy399 commented Oct 14, 2020

Wow! It worked well after I degraded the Biopython to version 1.76.
Thanks a lot!!!!!!

@kcha
Copy link
Collaborator

kcha commented Oct 17, 2020

Thanks for catching this. I will make some changes to address this issue when I get the chance.

@kcha kcha closed this as completed in 86d7201 Oct 23, 2020
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

3 participants