scPipe icon indicating copy to clipboard operation
scPipe copied to clipboard

segfault: Memory not mapped

Open MingBit opened this issue 6 years ago • 3 comments

Hey, I got this issue when I was testing it. Anything I could try to fix it? Thanks a lot.

*** caught segfault *** address 0x30, cause 'memory not mapped'

Traceback: 1: .Call("_scPipe_rcpp_sc_exon_mapping", PACKAGE = "scPipe", inbam, outbam, annofn, am, ge, bc, mb, bc_len, UMI_len, stnd, fix_chr) 2: rcpp_sc_exon_mapping(inbam, outbam, annofn, bam_tags$am, bam_tags$ge, bam_tags$bc, bam_tags$mb, bc_len, UMI_len, stnd, fix_chr) 3: sc_exon_mapping(file.path(data_dir, "out.aln.bam"), file.path(data_dir, "out.map.bam"), ERCCanno_fn) An irrecoverable exception occurred. R is aborting now ... Segmentation fault (core dumped)

MingBit avatar Mar 16 '18 14:03 MingBit

This is currently an issue with non-ENSEMBL annotations, are you using a non-ENSEMBL annotation?

Shians avatar Mar 18 '18 23:03 Shians

Thanks for response. I was using this one: Mus_musculus.GRCm38.dna.primary_assembly.fasta Download from ftp://ftp.ensembl.org/pub/release-91/fasta/mus_musculus/dna/

MingBit avatar Mar 19 '18 10:03 MingBit

Did you put that into the annofn argument? For the annotation you should be using a GFF3 file from ENSEMBL, so in your case you can download ftp://ftp.ensembl.org/pub/release-91/gff3/mus_musculus/Mus_musculus.GRCm38.91.gff3.gz and unzip it.

Shians avatar Mar 20 '18 01:03 Shians