Giter Site home page Giter Site logo

spa_typing's People

Contributors

mjsull avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

spa_typing's Issues

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

 python ./get_spa_type.py
Traceback (most recent call last):
  File "./get_spa_type.py", line 211, in <module>
    the_out = findPattern(args.fasta, seqDict, letDict, typeDict, seqLengths)
  File "./get_spa_type.py", line 126, in findPattern
    qDict = fasta_dict(infile)
  File "./get_spa_type.py", line 21, in fasta_dict
    with open(fasta_name) as fh:
TypeError: coercing to Unicode: need string or buffer, NoneType found

python --version
Python 2.7.13

AttributeError: 'itertools._grouper' object has no attribute 'next'

python3 ./get_spa_type.py
Traceback (most recent call last):
  File "./get_spa_type.py", line 210, in <module>
    seqDict, letDict, typeDict, seqLengths = getSpaTypes(args.repeat_file, args.repeat_order_file)
  File "./get_spa_type.py", line 112, in getSpaTypes
    reps_dict = fasta_dict(reps)
  File "./get_spa_type.py", line 24, in fasta_dict
    header = header.next()[1:].strip()
AttributeError: 'itertools._grouper' object has no attribute 'next'

python3 --version
Python 3.6.1

ImportError: No module named request

Hi I just downloaded this but cannot seem to run it. There seems to be an issue with line 6?

Peters-MacBook-Pro:~ peter$ python /Users/peter/Desktop/spa_typing-master/get_spa_type.py -f /Users/peter/Desktop/M20_0405.fasta
Traceback (most recent call last):
File "/Users/peter/Desktop/spa_typing-master/get_spa_type.py", line 6, in
import urllib.request
ImportError: No module named request
Peters-MacBook-Pro:~ peter$

Any help would be great! Cheers!

P

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.