STAR-Fusion error

73 views
Skip to first unread message

Daniel Spagnolo

unread,
Feb 10, 2023, 3:47:26 PM2/10/23
to STAR-Fusion
Hello, 

I am getting an error running STAR-Fusion "died with ret 11 No such file or directory at /lab/tools/STAR-Fusion-v1.4.0/PerlLib/Pipeliner.pm line 181."

I did see some similar errors in the Google Group suggesting to either:
1. Check that there is adequate RAM or
2. re-make the base installation. 

STAR-Fusion and STAR was installed by our lab in 2018 with a native installation from gitlab source. 

What is interesting to me is we run a small run of samples every other month or so - every other sample on the run had a successful STAR-Fusion analysis, even those with larger fastq files (these are around 11G). And since then we have done another batch that was 100% successful. This suggests to me that the installation is functioning and our analyses have adequate RAM. Analysis is done via HPC. 

The full stack trace is below:

CMD: mkdir -p /lab/projects/rna/1171818/star_fusion
CMD: mkdir -p /lab/projects/rna/1171818/star_fusion/_starF_checkpoints
CMD: mkdir -p /lab/projects/rna/1171818/star_fusion/star-fusion.preliminary
* Running CMD: /lab/tools/STAR-2.6.0c/source/STAR --genomeDir /lab/common/hg19/STAR-Fusion/GRCh37_v19_CTAT_lib_Feb092018/ctat_genome_lib_build_dir/ref_genome.fa.star.idx  --outReadsUnmapped None  --chimSegmentMin 12  --chimJunctionOverhangMin 12  --alignSJDBoverhangMin 10  --alignMatesGapMax 100000  --alignIntronMax 100000  --alignSJstitchMismatchNmax 5 -1 5 5  --runThreadN 16 --outSAMstrandField intronMotif  --outSAMunmapped Within  --outSAMtype BAM Unsorted  --readFilesIn /lab/projects/rna/1171818/MAP23-00013_5622G1_reads1.fastq /lab/projects/MAP23-00013_5622G1_reads2.fastq  --outSAMattrRGline ID:GRPundef  --chimMultimapScoreRange 10 --chimMultimapNmax 10 --chimNonchimScoreDropMin 10  --peOverlapNbasesMin 12 --peOverlapMMp 0.1  --genomeLoad NoSharedMemory  --twopassMode Basic
Error, cmd: /lab/tools/STAR-2.6.0c/source/STAR --genomeDir /lab/common/mgp/hg19/STAR-Fusion/GRCh37_v19_CTAT_lib_Feb092018/ctat_genome_lib_build_dir/ref_genome.fa.star.idx  --outReadsUnmapped None  --chimSegmentMin 12  --chimJunctionOverhangMin 12  --alignSJDBoverhangMin 10  --alignMatesGapMax 100000  --alignIntronMax 100000  --alignSJstitchMismatchNmax 5 -1 5 5  --runThreadN 16 --outSAMstrandField intronMotif  --outSAMunmapped Within  --outSAMtype BAM Unsorted  --readFilesIn /lab/projects/rna/1171818/MAP23-00013_5622G1_reads1.fastq /lab/projects/rna/1171818/MAP23-00013_5622G1_reads2.fastq  --outSAMattrRGline ID:GRPundef  --chimMultimapScoreRange 10 --chimMultimapNmax 10 --chimNonchimScoreDropMin 10  --peOverlapNbasesMin 12 --peOverlapMMp 0.1  --genomeLoad NoSharedMemory  --twopassMode Basic  died with ret 11 No such file or directory at /lab/tools/STAR-Fusion-v1.4.0/PerlLib/Pipeliner.pm line 181.
        Pipeliner::run(Pipeliner=HASH(0x1b1077c0)) called at /lab/tools/STAR-Fusion-v1.4.0/STAR-Fusion line 893
        main::run_STAR(Pipeliner=HASH(0x1b1077c0), "/lab/projects/rna/1171818/MAP23-00013_5622G1_re"..., "/lab/projects/rna/1171818/MAP23-00013_5622G1_re"..., "std", "") called at /lab/tools/STAR-Fusion-v1.4.0/STAR-Fusion line 519

Seems like this is failing around a 2nd pass of the  mapping? Due to this from stdout:

Start job date: Tue Jan 24 16:36:19 EST 2023
Jan 24 16:36:33 ..... started STAR run
Jan 24 16:36:33 ..... loading genome
Jan 24 16:36:43 ..... started 1st pass mapping
Jan 24 16:47:50 ..... finished 1st pass mapping
Jan 24 16:47:52 ..... inserting junctions into the genome indices
Jan 24 16:49:25 ..... started mapping
End job date: Tue Jan 24 16:58:28 EST 2023

and from Log.progress.out:
Jan 26 12:25:43 Started 1st pass mapping
... {11 rows of mapping} ...
Jan 26 12:36:46 Finished 1st pass mapping"
... {7 rows of mapping} ...

There is a completed _STARpass1 directory. 

Thanks, and I really appreciate any help or direction!

Dan


Brian Haas

unread,
Feb 13, 2023, 6:56:46 PM2/13/23
to STAR-Fusion
Hi Dan,

This is usually an out of memory issue.  Do you have ~50G of RAM available on the machine you're running this on?

best,

~b

Daniel Spagnolo

unread,
Feb 14, 2023, 9:34:40 AM2/14/23
to STAR-Fusion
Hi Brian, 

That was my worry - I'm checking with our HPC engineer now. 

-Dan

Daniel Spagnolo

unread,
Feb 23, 2023, 1:58:46 PM2/23/23
to STAR-Fusion
Hi Brian, 

I got the following info from our HPC team:
The 2 master nodes are on dedicated hardware each with 246.75 Gb of RAM and 20 physical processors.  The file-max (max open files limit) is 25389260.

So it seems we would have sufficient RAM, are there any other causes for this type of error I'm receiving? Thanks for any tips you might have!

-Dan 

Brian Haas

unread,
Feb 23, 2023, 3:15:09 PM2/23/23
to Daniel Spagnolo, STAR-Fusion
Hi Dan,

It certainly sounds like memory shouldn't be an issue.

You could try running our latest version of STAR-Fusion. It works off
the same ctat genome lib as before. The default now is to do
single-pass alignment. Maybe that will help.

best,

~brian
> --
> You received this message because you are subscribed to a topic in the Google Groups "STAR-Fusion" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/star-fusion/2EG2cFeWZNw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to star-fusion...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/star-fusion/68195975-14a8-4ffd-9e61-7097dad77620n%40googlegroups.com.

郝丹

unread,
May 12, 2023, 5:28:58 AM5/12/23
to STAR-Fusion
Hi Brian

I also faced the same problem, I used the version of 1) samtools/1.14   2) R/4.3.0   3) perl/5.30.2   4) star/2.7.10a   5) star-fusion/1.11.0 to run the  STAR-Fusion --genome_lib_dir  GENOME \
           --left_fq CRCnx021xRNA_out_R1.fastq.gz \
             --right_fq CRCnx021xRNA_out_R2.fastq.gz \
             --output_dir ./

Screenshot 2023-05-12 112501.png
But I could not get the file of 'star-fusion.fusion_predictions.tsv', but the following files:

Screenshot 2023-05-12 112142.png
And there will have an
Error, cmd: /services/tools/star-fusion/1.11.0/util/STAR-Fusion.map_chimeric_reads_to_genes  --genome_lib_dir /GRCh38_gencode_v37_CTAT_lib_Mar012021.plug-n-play/ctat_genome_lib_build_dir  -J Chimeric.out.junction  -O .//star-fusion.preliminary/star-fusion.junction_breakpts_to_genes.txt --CPU 4  died with ret 256 No such file or directory at /services/tools/star-fusion/1.11.0/PerlLib/Pipeliner.pm line 181.
        Pipeliner::run(Pipeliner=HASH(0xc614f0)) called at /services/tools/star-fusion/1.11.0/STAR-Fusion line 810

what should I do to find the file or directory at /services/tools/star-fusion/1.11.0/PerlLib/Pipeliner.pm line 181 and let it run to get the final files.

I also found some problems with the RAM by others, but I applied for 160gb memory to run. Could you help me with this problem? 

Best wishes,
Dan 

Brian Haas

unread,
May 12, 2023, 7:42:07 AM5/12/23
to 郝丹, STAR-Fusion
Hi,

That's a peculiar place to break down.

Can you try running this directly?

/services/tools/star-fusion/1.11.0/util/STAR-Fusion.map_chimeric_reads_to_genes  --genome_lib_dir /GRCh38_gencode_v37_CTAT_lib_Mar012021.plug-n-play/ctat_genome_lib_build_dir  -J Chimeric.out.junction  -O .//star-fusion.preliminary/star-fusion.junction_breakpts_to_genes.txt --CPU 4

Also, can you look at the contents of the star-fusion.preliminary/ directory and see if the star-fusion.junction_breakpts_to_genes.txt  file exists there?

Another thing to try is to run the sample data that ships with star-fusion to see if that works. It should run and complete within a few minutes.

best,

~b



--
You received this message because you are subscribed to the Google Groups "STAR-Fusion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to star-fusion...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/star-fusion/18a73736-4967-45eb-8ea3-7d4ac663ac8an%40googlegroups.com.


--
--
Brian J. Haas
The Broad Institute
http://broadinstitute.org/~bhaas

 

Brian Haas

unread,
May 12, 2023, 10:49:32 AM5/12/23
to 郝丹, STAR-Fusion
Hi,

So, this error that you're seeing:
IntervalTree.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xcd00080)


Means there's an installation error.

Try running 'make clean && make' in the base STAR-Fusion installation directory and see if that helps.


best,

~b
Reply all
Reply to author
Forward
Message has been deleted
0 new messages