Skip to content

Odd error: ValueError: invalid literal for int() with base 10: 'all' #18

@apelin20

Description

@apelin20

Hello, trying the tool for the first time.

@OHRI-bell-virt ~/programs/nanocorrect $ make -f nanocorrect-overlap.make INPUT=/scratch/apelin/MinION_sequencing/Kevin_plasmid/MinION/Pass_2D_seqtk.fasta NAME=nc
nanocorrect-preprocess.pl /scratch/apelin/MinION_sequencing/Kevin_plasmid/MinION/Pass_2D_seqtk.fasta > nc.pp.fasta
fasta2DB nc nc.pp.fasta
DBsplit -s50 nc
DBdust nc
HPCdaligner -t5 -mdust nc > HPCcommands.txt
/bin/bash HPCcommands.txt
LAcat nc > nc.las
rm nc.*.las

So far so good.
Then got pip to install pysam and biopython.

Second step:
@OHRI-bell-virt ~/programs/nanocorrect $ python nanocorrect.py nc all > corrected.fasta
[fai_load] build FASTA index.
Traceback (most recent call last):
File "nanocorrect.py", line 183, in
(start, end) = [ int(x) for x in read_range.split(':') ]
ValueError: invalid literal for int() with base 10: 'all'

Not sure what is causing this.

@OHRI-bell-virt ~/programs/nanocorrect $ python -V
Python 2.7.9

Adrian

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