Skip to content

ORF error? #18

@moschmi

Description

@moschmi

Hello,
I'm getting consistently this error (the KeyError sometimes changes):
Traceback (most recent call last): File "/home/mos6/venv/bin/jcast", line 8, in <module> sys.exit(main()) File "/home/mos6/venv/lib/python3.8/site-packages/jcast/main.py", line 438, in main args.func(args) File "/home/mos6/venv/lib/python3.8/site-packages/jcast/main.py", line 166, in runjcast main_log.info(translate_one_partial(jx)) File "/home/mos6/venv/lib/python3.8/site-packages/jcast/main.py", line 208, in _translate_one sequence.translate(use_phase=True) File "/home/mos6/venv/lib/python3.8/site-packages/jcast/sequences.py", line 145, in translate self.slice1_aa = h.make_pep(self.slice1_nt.seq, self.j.strand, i, terminate=True) File "/home/mos6/venv/lib/python3.8/site-packages/jcast/helpers.py", line 227, in make_pep aa = code[nt[i:i + 3]] KeyError: 'AGX'

I'm using this command with reference files from gencode.
jcast /home/mos6/RNAseq/yumm_RNAseq/rMats_clones/rmats_output/rmats_UV3R-D9_novel /home/references/gencode_ref_mm/gencode.vM25.annotation.gtf /home/references/gencode_ref_mm/GRCm38.primary_assembly.genome.fa -o jcast_D9_novel #error

As recommended I looked for NA in the GTF and Ns in the fasta. None in the GTF and Ns are only in the beginning of each chromosome.

I tried this also with references from NCBI, Ensembl, UCSC.
It looks like there is something wrong with the ORF? What do I need to fix?
Best
Marcel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions