We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug PEPPAN fails with "UnboundLocalError: local variable 'name' referenced before assignment"
"UnboundLocalError: local variable 'name' referenced before assignment"
To Reproduce
# install via conda conda config --add channels defaults conda config --add channels conda-forge conda config --add channels bioconda conda create --prefix ./conda-envs/peppan python=3.9 conda activate /data/users/username/conda-envs/peppan conda install mmseqs2 blast diamond rapidnj fasttree pip3 install peppan # quickstart PEPPAN --testunit PEPPAN -p examples/ST131 -P examples/GCF_000010485.combined.gff.gz examples/*.gff.gz > 1_PEPPAN.out 2>&1 PEPPAN_parser -g examples/ST131.PEPPAN.gff -s examples/PEPPAN_out -t -c -a 95 > 2_PEPPAN_parser.out 2>&1
$ conda activate /data/users/username/conda-envs/peppan $ cd /data/users/username/genome_datasets $ PEPPAN \ > --prefix PEPPAN_50/my-prefix \ > --genes \ > in/FAM14217-p1-1.1.gff,in/FAM14217-p1-1.1.fna \ > in/FAM15300-i1-1.1.gff,in/FAM15300-i1-1.1.fna 2023-03-02 16:33:51.941180 COMMAND: /data/users/username/conda-envs/peppan/bin/PEPPAN --prefix PEPPAN_50/my-prefix --genes in/FAM14217-p1-1.1.gff,in/FAM14217-p1-1.1.fna in/FAM15300-i1-1.1.gff,in/FAM15300-i1-1.1.fna Traceback (most recent call last): File "/data/users/username/conda-envs/peppan/bin/PEPPAN", line 8, in <module> sys.exit(ortho()) File "/data/users/username/conda-envs/peppan/lib/python3.9/site-packages/PEPPAN/PEPPAN.py", line 1845, in ortho genes = addGenes(genes, params['genes'], params['gtable']) File "/data/users/username/conda-envs/peppan/lib/python3.9/site-packages/PEPPAN/PEPPAN.py", line 1017, in addGenes ng = readFasta(gfile) File "/data/users/username/conda-envs/peppan/lib/python3.9/site-packages/PEPPAN/modules/configure.py", line 126, in readFasta sequence[name].extend(line.strip().split()) UnboundLocalError: local variable 'name' referenced before assignment
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
PEPPAN fails with
"UnboundLocalError: local variable 'name' referenced before assignment"
To Reproduce
The text was updated successfully, but these errors were encountered: