[attention] fusionfusion no longer supports MapSplice2 and TopHat2.
fusionfusion is a software for detecting gene fusion using the putative chimeric transcript generated by several well-known transcriptome alignment tools (STAR only). Many of those predicted chimeric transcripts are "false positives". However, by performing effective filtering, sensitive and accurate gene fusion detection is possible. After the alignment steps, the software can generate final gene fusion candidates and integrating our software into the pipeline will come very easily to you!
Python (>= 2.7), pysam (>= 0.8.1)
and annot_utils
packages.
pip install fusionfusion
Alternatively, you can install from the source code.
git clone https://github.com/friend1ws/fusionfusion.git
cd fusionfusion
python setup.py build install
This package has been tested on Python 2.7, 3.5, 3.6.
First, you need to perform transcriptome sequencing alignemnt by STAR.
For STAR, our software uses the chimeric sam file
{output_prefix}.Chimeric.out.sam
Optionally, you can specify the following files to enable further analysis (Note that the aligned bam must be sorted by coordinate):
{output_prefix}.SJ.out.tab
{output_prefix}.Aligned.sortedByCoord.out.bam
fusionfusion [-h] [--version]
--star star.Chimeric.out.sam
--out output_dir
--reference_genome reference.fa [--grc]
[--genome_id {hg19,hg38,mm10}]
[--pooled_control_file POOLED_CONTROL_FILE] [--no_blat]
[--debug] [--abnormal_insert_size ABNORMAL_INSERT_SIZE]
[--min_major_clipping_size MIN_MAJOR_CLIPPING_SIZE]
[--min_read_pair_num MIN_READ_PAIR_NUM]
[--min_valid_read_pair_ratio MIN_VALID_READ_PAIR_RATIO]
[--min_cover_size MIN_COVER_SIZE]
[--anchor_size_thres ANCHOR_SIZE_THRES]
[--min_chimeric_size MIN_CHIMERIC_SIZE]
[--min_allowed_contig_match_diff MIN_ALLOWED_CONTIG_MATCH_DIFF]
[--check_contig_size_other_breakpoint CHECK_CONTIG_SIZE_OTHER_BREAKPOINT]
[--filter_same_gene]
[--star_sj_tab star.SJ.out.tab]
[--star_aligned_bam star.Aligned.sortedByCoord.out.bam]
The arguments of --out and --reference_genome are mandatory.
Set the genome model by --genome_id (default is hg19).
Currently, we support hg19, hg38 and mm10.
Also, if you are using GRC-based files (no "chr" in chromosome names), set --grc.
For other arguments, please type fusionfusion -h
.
Although we believe default settings are fine for 100bp-length paired read data.,
tuning min_cover_size may help improve the accuracy.
Also, using pooled control files generated by the merge_control command of chimera_utils
will greatly reduce false positives.
For the result generated by single tool (star.fusion.result.txt, ms2.fusion.result.txt and th2.fusion.result.txt):
- chromosome for the 1st breakpoint
- coordinate for the 1st breakpoint
- direction of the 1st breakpoint
- chromosome for the 2nd breakpoint
- coordinate for the 2nd breakpoint
- direction of the 2nd breakpoint
- inserted nucleotides within the breakpoints
- #read_pairs supporting the fusion
- gene overlapping the 1st breakpoint
- exon-intron junction overlapping the 1st breakpoint
- gene overlapping the 2nd breakpoint
- exon-intron junction overlapping the 2nd breakpoint
- contig match score for the 1st breakpoint (unless --no_blat is specified)
- contig size for the 1st breakpoint (unless --no_blat is specified)
- contig match score for the 2nd breakpoint (unless --no_blat is specified)
- contig size for the 2nd breakpoint (unless --no_blat is specified)
For the merged result (fusionfusion.result.txt):
- chromosome for the 1st breakpoint
- coordinate for the 1st breakpoint
- direction of the 1st breakpoint
- chromosome for the 2nd breakpoint
- coordinate for the 2nd breakpoint
- direction of the 2nd breakpoint
- inserted nucleotides within the breakpoints
- gene overlapping the 1st breakpoint
- exon-intron junction overlapping the 1st breakpoint
- gene overlapping the 2nd breakpoint
- exon-intron junction overlapping the 2nd breakpoint
- #read_pairs supporting the variant (by STAR if --star is specified)