Giter Site home page Giter Site logo

Comments (5)

belgravia avatar belgravia commented on August 11, 2024

Your command is fine and your psl is in the format that the script is expecting, which is good. However my script was expecting integers for counts when float counts were given. The quantification format had changed and I hadn't changed find_alt3prime_5prime_ss.py to match. I just pushed a newer version of the script that should fix this. Let me know how this goes!
-Alison

from flair.

dorothyzh avatar dorothyzh commented on August 11, 2024

Traceback (most recent call last):
File "flair/flair/bin/find_alt3prime_5prime_ss.py", line 106, in
alljuncs = pslreader(psl)
File "flair/flair/bin/find_alt3prime_5prime_ss.py", line 25, in pslreader
count0, count1 = float(line[colnum]), float(line[colnum + 1])
IndexError: list index out of range

from flair.

belgravia avatar belgravia commented on August 11, 2024

I pushed an updated version of the script that takes the command line arguments as such:
python find_alt3prime_5prime_ss.py isoforms_counts.psl 21 22 accept.txt donor.txt
since I realize the way it read the column numbers in before was confusing. Let me know if that works for you. Thanks for your patience!
-Alison

from flair.

dorothyzh avatar dorothyzh commented on August 11, 2024

Sorry to bother you, I still find errors, I give you the output.psl file I used

output.psl.txt
python flair/bin/find_alt3prime_5prime_ss.py output.psl2 22 23 alt_acceptor.txt alt_donor.txt
Traceback (most recent call last):
File "flair/bin/find_alt3prime_5prime_ss.py", line 107, in
alljuncs = pslreader(psl)
File "flair/bin/find_alt3prime_5prime_ss.py", line 26, in pslreader
count0, count1 = float(line[colnum1]), float(line[colnum2])
IndexError: list index out of range

python flair/bin/find_alt3prime_5prime_ss.py output.psl2 22 22 alt_acceptor.txt alt_donor.txt
Traceback (most recent call last):
File "flair/bin/find_alt3prime_5prime_ss.py", line 107, in
alljuncs = pslreader(psl)
File "flair/bin/find_alt3prime_5prime_ss.py", line 33, in pslreader
for j in junctions:
TypeError: 'NoneType' object is not iterable

from flair.

dorothyzh avatar dorothyzh commented on August 11, 2024

That's my original file, I have changed the last columns of it to integer using R, but still cannot work. Thanks.

from flair.

Related Issues (20)

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.