Comments (5)
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.
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.
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.
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.
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)
- accept BED9 as well as BED6 for splice junctions
- can't keep intermediate files when calling correct from flair HOT 1
- flair collapse creates invalid isoforms names that cause GTF conversion to fail
- `'run_id' is not defined` error while running `collapse-range` HOT 2
- diffsplice_fishers_exact generates bogus error if input file is missing HOT 1
- diff_iso_usage does not include header in output files
- merging of transcript ids and gene ids is frustrating to use HOT 2
- diff_iso_usage documentation does not clear describe what it does
- The results of my test_output are not consisitent with the oferred test_expected. Why? HOT 1
- flair correct crash with AttributeError: 'bool' object has no attribute 'find_overlap' HOT 1
- ssUtils.py gtfToSSBed crashes if gtf doesn't have transcript_id HOT 1
- flair correct doesn't exit non-zero when an invalid argument is supplied HOT 3
- Improve documentation of algorithm is readthedocs
- Make FLAIR source & packaging structure not weird
- Translate predictProductivity output to protein HOT 4
- Transcript read number
- Question regarding sequencing depth and collapse step HOT 1
- Issues implementing FLAIR2 HOT 1
- Unexpected entries in gtf file after flair collapse HOT 1
- FLAIR could improve alignments by passing minimap2 splice junctions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flair.