This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Scaffold making via scripting

Hi

My question today is for experts using python programming to do Bioinformatic analyses. I am trying to run a well written script for creating scaffold from my blast sequences. I am however getting the error again and again. I have pasted the error I am getting

Traceback (most recent call last):
  File "C:/Python27/DB/Attempt3.py", line 150, in <module>
    __main__()
  File "C:/Python27/DB/Attempt3.py", line 143, in __main__
    ContigsDict = myContigs (args.sequences)
  File "C:/Python27/DB/Attempt3.py", line 49, in myContigs  with open(file, "r") as f:

TypeError: coercing to Unicode: need string or buffer, NoneType found

Can somebody please advise me why I am getting his error.I know I have installed python and biopython as I am able to parse known sequences using this.

Regards
DV

biopython

I think you'll find the solution on SO, also you should show the relevant part of the 'well written' script that throws the error.

Hello vidushipujni!

We believe that this post does not fit the main topic of this site.

Closing as off topic

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.