Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with reading gene annotation file #37

Closed
sparthib opened this issue Jun 27, 2024 · 3 comments
Closed

Error with reading gene annotation file #37

sparthib opened this issue Jun 27, 2024 · 3 comments

Comments

@sparthib
Copy link

Hi, in my code below, after genome alignment is completed, I get this error:

[1] "completed genome alignment"
12:35:32 AM Thu Jun 27 2024 find_isoform
#### Reading Gene Annotations
Error: unordered_map::at
Execution halted

I am not sure if it's an issue with my gtf file. It is uncompressed. Any help would be appreciated. Thanks!

config_dir <- file.path(outdir, "config")
config_file <- FLAMES::create_config(config_dir, type = "sc_3end",
                                     do_barcode_demultiplex = FALSE,
                                     min_sup_cnt = 5,
                                     threads = 20)

#run minimap2

if (!any(is.na(sys_which(c("minimap2", "k8"))))) {

  config <- jsonlite::fromJSON(config_file)
  genome_bam <- rownames(minimap2_align(
    config = config, fa_file = genome_fa, fq_in = fastq, annot = annot,
    outdir = outdir
  ))
  print("completed genome alignment")
  
  find_isoform(
    annotation = annot, genome_fa = genome_fa,
    genome_bam = genome_bam, outdir = outdir, config = config
  )
  print("completed isoform identification")
  minimap2_realign(
    config = config, fq_in = fastq,
    outdir = outdir
  )
  print("created minimap2 realigned bam")
  quantify_transcript(annotation = annot, outdir = outdir, config = config)
  print("completed transcript quantification")
  sce <- create_sce_from_dir(outdir = outdir, annotation = annot)
  print("created SingleCellExperiment object")
  
}
@maxim-h
Copy link
Contributor

maxim-h commented Jul 11, 2024

I experience the same problem.

The annotation GFF file is that same as the one I've used successfully before with LuyiTian/FLAMES.

@ChangqingW
Copy link
Collaborator

This is an issue with the C++ implementation of isoform discovery part, setting "multithread_isoform_identification": [false] should be able to resolve this

@ChangqingW
Copy link
Collaborator

duplicate of #31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants