Skip to content

BioNanoAnalyst - KeyError #2

@AlanTracey99

Description

@AlanTracey99

I get the following error a couple of minutes after setting BioNanoAnalyst running. It seems to be due to be something to do with contig IDs.

Process Process-31:
Traceback (most recent call last):
File "/software/pathogen/external/apps/usr/local/Python-2.7.13/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/software/pathogen/external/apps/usr/local/Python-2.7.13/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/software/pathogen/external/apps/usr/local/BioNanoAnalyst-20170928/scripts/Analysis.py", line 345, in alignedInf
name = self.ref_id[RefCtgId]
KeyError: 67

Here are my 13 scaffold fasta headers:

Super-Scaffold_1
Super-Scaffold_2
Super-Scaffold_3
Super-Scaffold_4
Super-Scaffold_5
Super-Scaffold_7
Super-Scaffold_10
Super-Scaffold_11
Super-Scaffold_12
Super-Scaffold_67
Super-Scaffold_70
Super-Scaffold_72
Super-Scaffold_133

And the first 3 columns of my xmap file:

#f int int
1 1 1
2 2 2
3 3 3
4 4 4
5 69 4
6 5 5
7 9 7
8 7 7
9 8 7
10 10 10
11 11 11
12 136 12
13 12 12
14 67 67
15 70 70
16 202 70
17 72 72
18 133 133

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions