You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have switched to mysql from sqlite because sqlite takes so long to run. Train keeps failing at the PASA step, due to an inability to connect through the socket. I am running my commands via ssh connection to a research server. PASA conf.txt file is setup as per template configuration file, the server admin has created all necessary users, and the details in my conf.txt file match these users. We have tried a variety of socket locations but virtually the same errors.
Any help with this would be greatly appreciated, thank you!
My conf.txt file looks like this:
#####################################
#### MANDATORY SETTINGS #############
#####################################
# This file is not used if SQLITEDB is set in the alignment assembly configuration file
## MySQL settings:
# server actively running MySQL
# MYSQLSERVER=server.com
MYSQLSERVER=localhost
# Pass socket connections through Perl DBI syntax e.g. MYSQLSERVER=mysql_socket=/tmp/mysql.sock
# read-write username and password
MYSQL_RW_USER=pasa_write
MYSQL_RW_PASSWORD=pasa_write_pwd
# read-only username and password
MYSQL_RO_USER=pasa_access
MYSQL_RO_PASSWORD=pasa_access
What command did you issue? funannotate train -i genome/aLisVul1.pri.asm.20230818_masked_scaffold-1-2-split.fa -o trained/ -l transcriptome/newt_testis_trimmed_1.fq.gz transcriptome/newt_F-liver_trimmed_1.fq.gz transcriptome/newt_ovary_trimmed_1.fq.gz transcriptome/newt_UK-liver_trimmed_1.fq.gz -r transcriptome/newt_testis_trimmed_2.fq.gz transcriptome/newt_F-liver_trimmed_2.fq.gz transcriptome/newt_ovary_trimmed_2.fq.gz transcriptome/newt_UK-liver_trimmed_2.fq.gz --trinity transcriptome/Lvulg_x_Lmont_tgm_reference_transcriptome.fa --species "Lissotriton vulgaris" --cpus 64 --no_trimmomatic --memory 500G --aligners minimap2 gmap --pasa_db mysql >trained/Lvulg_funannotate_run1-train.stdout 2>trained/Lvulg_funannotate_run1-train.err &
-connecting to MySQL db: Lissotriton_vulgaris_pasa
Use of uninitialized value in pattern match (m//) at /data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/Launch_PASA_pipeline.pl line 281.
-*** Running PASA pipeine:
* [Fri Jul 12 13:05:29 2024] Running CMD: /data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/scripts/create_mysql_cdnaassembly_db.dbi -c /data/tigrr/home/userx/analyses/genome_annotation/de_novo/smooth_newt/inputs/trained/training/pasa/alignAssembly.txt -S '/data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/schema/cdna_alignment_mysqlschema' -r
DBI connect('database=;host=localhost','pasa_write',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/PerlLib/DB_connect.pm line 72.
Cannot connect to : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/scripts/create_mysql_cdnaassembly_db.dbi line 57.
Error, cmd: /data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/scripts/create_mysql_cdnaassembly_db.dbi -c /data/tigrr/home/userx/analyses/genome_annotation/de_novo/smooth_newt/inputs/trained/training/pasa/alignAssembly.txt -S '/data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/schema/cdna_alignment_mysqlschema' -r died with ret 65280 No such file or directory at /data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/PerlLib/Pipeliner.pm line 187.
Pipeliner::run(Pipeliner=HASH(0x560f2649a720)) called at /data/tigrr/home/userx/anaconda3/envs/funannotate_env2_v1.8.16/envs/funannotate_env3_v1.8.17/opt/pasa-2.5.3/Launch_PASA_pipeline.pl line 1061
I'll leave this open for a bit longer in case there's some value for others, but I tried again with just sqlite and it wasn't too slow. It's much easier to run!
Are you using the latest release?
Yes
Describe the bug
I have switched to mysql from sqlite because sqlite takes so long to run. Train keeps failing at the PASA step, due to an inability to connect through the socket. I am running my commands via ssh connection to a research server. PASA conf.txt file is setup as per template configuration file, the server admin has created all necessary users, and the details in my conf.txt file match these users. We have tried a variety of socket locations but virtually the same errors.
Any help with this would be greatly appreciated, thank you!
My conf.txt file looks like this:
What command did you issue?
funannotate train -i genome/aLisVul1.pri.asm.20230818_masked_scaffold-1-2-split.fa -o trained/ -l transcriptome/newt_testis_trimmed_1.fq.gz transcriptome/newt_F-liver_trimmed_1.fq.gz transcriptome/newt_ovary_trimmed_1.fq.gz transcriptome/newt_UK-liver_trimmed_1.fq.gz -r transcriptome/newt_testis_trimmed_2.fq.gz transcriptome/newt_F-liver_trimmed_2.fq.gz transcriptome/newt_ovary_trimmed_2.fq.gz transcriptome/newt_UK-liver_trimmed_2.fq.gz --trinity transcriptome/Lvulg_x_Lmont_tgm_reference_transcriptome.fa --species "Lissotriton vulgaris" --cpus 64 --no_trimmomatic --memory 500G --aligners minimap2 gmap --pasa_db mysql >trained/Lvulg_funannotate_run1-train.stdout 2>trained/Lvulg_funannotate_run1-train.err &
Logfiles
Output from funannotate_train.log
Output of pasa-assembly.log
OS/Install Information
The text was updated successfully, but these errors were encountered: