Skip to content

Can't use an undefined value as a symbol reference #3

@hungweichen0327

Description

@hungweichen0327

Dear developer:

When I ran this software, I encountered an error.

This is the content of the config file (FS003_diploid_config.txt):

Project:
-----------------------
Project name          = FS003_diploid
Assembly length       = WG
Genome size           = 
Ploidy                = 2
Circular              =
Threads               = 32
Output path           = /home/hwc/nas2_hwc/CPL_Cladosporium/assembly/FS003/NOVOLoci/diploid/
TMP path              = /home/hwc/nas2_hwc/CPL_Cladosporium/assembly/FS003/NOVOLoci/diploid_tmp/

Nanopore reads:
-----------------------
Nanopore reads        = /home/hwc/nas2_hwc/CPL_Cladosporium/ONT_data/merged_barcode06.fastq.gz
Local DB and NP reads =
Sequencing depth NP   = 13 
R10                   = yes
Min read length NP    = 1000

PacBio reads:
-----------------------
PacBio reads          =                  
Local DB and PB reads =
Sequencing depth PB   =
Min read length PB    = 

When I ran the NOVOLoci with the script:
nohup novoloci -c FS003_diploid_config.txt 1> novoloci_FS003_diploid.out 2> novoloci_FS003_diploid.err &

The novoloci_FS003_diploid.err shows:

nohup: ignoring input
Can't use an undefined value as a symbol reference at /home/hwc/mambaforge/envs/novoloci/bin/novoloci line 25353.
Finished with active child processes [1866182.0.main] (1)

The content of lines 25343 to 25363 is:

	$contig_length{$id} = length($read);
}

$circular = "";

END1:
#close OUTPUT18;
if ($seed_id2 ne "")
{
	close $filehandle{$seed_id2};
	close $filehandle3{$seed_id2};
	close $filehandle4{$seed_id2};
}
#print $id." ID_CURRENT\n";
#print length($read)." ID_CURRENT_LENGTH\n";

if ($first_back_assembly eq "yes" && length($read) < 1500)
{
	unlink $output_file5;
	unlink $output_file13;
	foreach my $seed_id_tmp (keys %seed)

and the last a few lines of the novoloci_FS003_diploid.out shows:

Nanopore reads
--------------
Total count             : 111960
Total length            : 550608480 bp
N50                     : 14093 bp
Average read length     : 4917 bp
Max read length         : 1494702 bp
Min read length         : 5 bp
Reads below min length  : 39611
Total removed bp        : 15296643 bp

Reduced sequencing depth: 13


Prepare seeds......OK

I installed the NOVOLoci using the conda.
How do I fix this problem? Thank you for the help.

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