Comments (5)
Hi,
That error looks odd, but I can't tell the reason so far. Your command line seems no problem. Could you simply try using one core, i.e., by setting -p 1
? It will be slower, but may help me check whether the problem comes from the multiprocessing
package.
Thanks and let me know.
Yuanhua
from brie.
Hi Yuanhua,
I've tried with -p 1 parameter, error seems somewhere different:
[Brie] loading annotation file... Done.
[Brie] loading reads for 12586 genes with 1 cores...
[Brie] [--------------------] 0.1% done in 1.2 sec.Cannot fetch reads in region: 20:38902668-38907054
Traceback (most recent call last):
File "/usr/local/bin/brie", line 9, in <module>
load_entry_point('brie==0.1.3', 'console_scripts', 'brie')()
File "build/bdist.linux-x86_64/egg/brie/brie.py", line 240, in main
File "build/bdist.linux-x86_64/egg/brie/utils/run_utils.py", line 18, in set_info
File "build/bdist.linux-x86_64/egg/brie/utils/tran_utils.py", line 270, in set_reads
File "build/bdist.linux-x86_64/egg/brie/utils/sam_utils.py", line 74, in fetch_reads
UnboundLocalError: local variable 'reads' referenced before assignment
Then I tried with -p 2, the read processing could go to 100% rather than exit with 0.1% when -p 1, but it still reported same error with -p 10 parameter.
While something puzzles me that when during my brie installation, it got stucked by pylab module. You've offer help to forbiddden this function and installation went well ( see in #6 ).But I don't know if it matter. Do you think this error could be lead by this reason?
from brie.
Hi, Thanks for the feedbacks. I think the error is clear now, by looking at the report with -p 1 (this doesn't use the multiple processors, so can directly report the error). The error happens because
No reads can be fetched from region 20:38902668-38907054
20 here means the chr20, while in your reference genome sequence, the chr20 is written as 20.
I would guess there is some incompatibility in your bam file, though I see you already sort
and index
it. Is it possible to check whether the reads on other genes can be fetched? When you say by using -p 2, all genes can processed, do you mean you can get the output results file? If so, maybe only this gene is incompatible to the reference genome.
Anyway, I have updated the sam_utils.py, to give reads=[]
if reads cannot fetched from sam file. You could have a try and shouldn't make things worse. Also, I don't turning pylab off makes any differences here as it is only for plot.
Best
Yuanhua
from brie.
Oh thank you for your reminding, I've used the human annotaion from brie to run with the mouse aligned bam files, such a fool! Very sorry for bothering you, and thank again for your kindly help!
from brie.
Never mind, enjoy your analysis.
from brie.
Related Issues (20)
- Mode 1 and gene features HOT 6
- `brie-count` fails with `KeyError '1'` HOT 1
- Brie-quant input HOT 2
- Brie-Count and Brie-Quant Errors HOT 7
- Other AS types counting, no output HOT 6
- the output of brie-count has not .h5ad file HOT 1
- the output of brie-count don't contain the .h5ad file HOT 3
- the errors about the brie-count HOT 2
- brie-quant uses all available resources HOT 1
- visualize sashimi plot with brie2 HOT 3
- multiple 10x samples integration to run brie-count HOT 1
- Brie-count Multiprocessing using only 1 core HOT 2
- some questions about psi distribution
- Brie-count error with paired end smart-seq2 data HOT 1
- confused about Psi_95CI HOT 1
- p values outputfile
- MXE chromosomecoordinates to gene_ids
- How to get the specific sites where differential splicing events occurs
- ELBO_gain and effect size HOT 1
- split cells into groups and run brie2 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 brie.