Comments (8)
Recentlly I have got the same problem, hard to read the fusion_finder.py
from cdna_cupcake.
Hi,
Please give me the full set of commands you are running.
from cdna_cupcake.
My code is:
python fusion_finder.py
--input sample.hq.fastq
--fq
--sam gmap.sort.sam
--prefix sample
--min_locus_coverage 0.1
--min_total_coverage 0.99
--min_dist_between_loci 100000
--cluster_report_csv report.csv
It should be related to sam file format. When I run alignment using GMAP I did not use "-n 0 -z sense_force ". Now is OK.
from cdna_cupcake.
OK thanks.
from cdna_cupcake.
Traceback (most recent call last):
File "Python-2.7.8/bin/fusion_finder.py", line 393, in
min_dist_between_loci=args.min_dist_between_loci)
File "Python-2.7.8/bin/fusion_finder.py", line 301, in fusion_main
o = merge_fusion_exons(v, max_fusion_point_dist=100, max_exon_end_dist=0, allow_extra_5_exons=allow_extra_5_exons)
File "fusion_finder.py", line 207, in merge_fusion_exons
if all(is_fusion_compatible(r1, r2, max_fusion_point_dist, max_exon_end_dist, allow_extra_5_exons) for r2 in r2s):
File "fusion_finder.py", line 207, in
if all(is_fusion_compatible(r1, r2, max_fusion_point_dist, max_exon_end_dist, allow_extra_5_exons) for r2 in r2s):
File "Python-2.7.8/bin/fusion_finder.py", line 153, in is_fusion_compatible
type = compare_junctions(r1, r2)
File:/Python-2.7.8/lib/python2.7/site-packages/cupcake/tofu/compare_junctions.py", line 21, in compare_junctions
strand = r1.strand
AttributeError: GMAPSAMRecord instance has no attribute 'strand'
from cdna_cupcake.
Alignment para
bin/gmap -D /home/share/gmap_db/ -d hg38 -f samse -n 0 -t 12 -z sense_force hq_isoforms.fastq
from cdna_cupcake.
May be the issue of 'strand = r1.strand' in compare_junctions.py
strand = r1.flag.strand
from cdna_cupcake.
Hi,
I have fixed this issue. Please update to the latest commit in Cupcake (version 3.6, commit 9848e783978cc48e39d8f5220ef824c86c8df874).
You can verify that you have the same commit in your repo by
$ git rev-parse HEAD
9848e783978cc48e39d8f5220ef824c86c8df874
Let me know if this fixes the problem.
Thanks!
--Liz
from cdna_cupcake.
Related Issues (20)
- Question: where does the count.txt file come from?
- cluster id mismatch issue in get_abundance_post_collapse.py HOT 3
- chain_samples.py does not work!
- cupcake2 directory missing, compilation fails HOT 4
- Create sam format for collapse_isoforms_by_sam.py
- lima for skera.bam
- fusion_collate_info.py script has bugs and its not working.
- TypeError: iter_gmap_sam() got an unexpected keyword argument 'type' using collapse_isoforms_by_sam.py
- run_preCluster.py HOT 1
- setup.py requires sklearn instead of scikit-learn HOT 1
- fusion_collate_info.py KeyError: 'count_fl' HOT 3
- Cython compiler error when installing/building cDNA_cupcake HOT 2
- solved
- Saturation analysis bug fixes; compatibility with newer isoseq cluster [make_file_for_subsampling_from_collapsed.py]
- AttributeError: module 'numpy' has no attribute 'int'. HOT 2
- ModuleNotFoundError: No module named 'cupcake.tofu' after installing cdna_cupcake in conda subenv HOT 3
- fusion_finder.py HOT 1
- Demultiplex after clustering / genome alignment
- cdna_cupcake与SQANTI3
- collapse_isoforms_by_sam.py out of memory
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 cdna_cupcake.