Open liuyca1 opened 2 years ago
Did you try what the error indicates?
Dec 07 08:49 AM]: ERROR: dikarya busco database is not found, install with funannotate setup -b dikarya
Yes, it is indeed a problem with the database. I have specified the location of the database before downloading the database, but I don’t know where the problem occurred. Funannotate failed to identify it. Now it seems that I have to specify the location every time I start it.
You can either specify with command line or you can set the FUNANNOTATE_DB environmental variable.
On Dec 6, 2021, at 5:52 PM, liuyca1 @.***> wrote:
Yes, it is indeed a problem with the database. I have specified the location of the database before downloading the database, but I don’t know where the problem occurred. Funannotate failed to identify it. Now it seems that I have to specify the location every time I start it.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
The report after running funannotate test completely shows that there are still some errors, These errors can be ignored?
funannotate clean
unit testing: minimap2 mediated assembly duplications
CMD: funannotate clean -i test.clean.fa -o test.exhaustive.fa --exhaustive
#########################################################6 input contigs; 6 larger than 500 bp; 3 duplicated; 3 written to file
#########################################################
SUCCESS: funannotate clean
test complete.
#########################################################
funannotate mask
unit testing: RepeatModeler --> RepeatMasker
CMD: funannotate mask -i test.fa -o test.masked.fa --cpus 20
##################################################################################################################
SUCCESS: funannotate mask
test complete.
#########################################################
funannotate predict
unit testing
CMD: funannotate predict -i test.softmasked.fa --protein_evidence protein.evidence.fasta -o annotate --augustus_species saccharomyces --
#########################################################Run InterProScan (Docker required): funannotate iprscan -i annotate -m docker -c 20
Run antiSMASH: funannotate remote -i annotate -m antismash -e youremail@server.edu
[Dec 07 09:39 AM]: Training parameters file saved: annotate/predict_results/saccharomyces.parameters.json [Dec 07 09:39 AM]: Add species parameters to database:
funannotate species -s saccharomyces -a annotate/predict_results/saccharomyces.parameters.json
#########################################################
SUCCESS: funannotate predict
test complete.
#########################################################
funannotate predict
BUSCO-mediated training unit testing
CMD: funannotate predict -i test.softmasked.fa --protein_evidence protein.evidence.fasta -o annotate --cpus 20 --species Awesome busco
#########################################################Run InterProScan (Docker required): funannotate iprscan -i annotate -m docker -c 20
Run antiSMASH: funannotate remote -i annotate -m antismash -e youremail@server.edu
[Dec 07 09:54 AM]: Training parameters file saved: annotate/predict_results/awesome_busco.parameters.json [Dec 07 09:54 AM]: Add species parameters to database:
funannotate species -s awesome_busco -a annotate/predict_results/awesome_busco.parameters.json
funannotate predict
BUSCO-mediated training test complete.
#########################################################
Now running predict using all pre-trained ab-initio predictors
CMD: funannotate predict -i test.softmasked.fa --protein_evidence protein.evidence.fasta -o annotate2 --cpus 20 --species Awesome busco -p annotate/predict_results/awesome_busco.parameters.json
#########################################################funannotate predict
using RNA-seq training data
CMD: funannotate predict -i test.softmasked.fa --protein_evidence protein.evidence.fasta -o rna-seq --cpus 20 --min_training_models 150 --species Awesome rna
#########################################################Run InterProScan (Docker required): funannotate iprscan -i rna-seq -m docker -c 20
Run antiSMASH: funannotate remote -i rna-seq -m antismash -e youremail@server.edu
[Dec 07 10:26 AM]: Training parameters file saved: rna-seq/predict_results/awesome_rna.parameters.json [Dec 07 10:26 AM]: Add species parameters to database:
funannotate species -s awesome_rna -a rna-seq/predict_results/awesome_rna.parameters.json
funannotate update
to run PASA-mediated UTR addition and multiple transcripts
CMD: funannotate update -i rna-seq --cpus 20
#########################################################[Dec 07 10:26 AM]: OS: CentOS Linux 7, 20 cores, ~ 131 GB RAM. Python: 3.9.7
[Dec 07 10:26 AM]: Running 1.8.7
[Dec 07 10:26 AM]: No NCBI SBT file given, will use default, for NCBI submissions pass one here '--sbt'
[Dec 07 10:26 AM]: Found relevant files in rna-seq/training, will re-use them:
Single reads: rna-seq/training/single.fq.gz
[Dec 07 10:26 AM]: Reannotating Awesome rna, NCBI accession: None
[Dec 07 10:26 AM]: Previous annotation consists of: 1,586 protein coding gene models and 112 non-coding gene models
[Dec 07 10:26 AM]: Adapter and Quality trimming SE reads with Trimmomatic
Traceback (most recent call last):
File "/public/home/liuyuanchao/software/anaconda3/envs/funannotate/bin/funannotate", line 10, in
hi, I recently installed funannotate software, and an error was reported during testing. (funannotate) [liuyuanchao@login ~]$ funannotate check --show-versions
Checking dependencies for 1.8.7
You are running Python v 3.9.7. Now checking python packages... biopython: 1.79 goatools: 1.1.6 matplotlib: 3.4.3 natsort: 8.0.0 numpy: 1.21.4 pandas: 1.3.4 psutil: 5.8.0 requests: 2.26.0 scikit-learn: 1.0.1 scipy: 1.7.0 seaborn: 0.11.2 All 11 python packages installed
You are running Perl v b'5.026002'. Now checking perl modules... Bio::Perl: 1.007002 Carp: 1.38 Clone: 0.42 DBD::SQLite: 1.64 DBD::mysql: 4.046 DBI: 1.642 DB_File: 1.855 Data::Dumper: 2.173 File::Basename: 2.85 File::Which: 1.23 Getopt::Long: 2.5 Hash::Merge: 0.300 JSON: 4.02 LWP::UserAgent: 6.39 Logger::Simple: 2.0 POSIX: 1.76 Parallel::ForkManager: 2.02 Pod::Usage: 1.69 Scalar::Util::Numeric: 0.40 Storable: 3.15 Text::Soundex: 3.05 Thread::Queue: 3.12 Tie::File: 1.02 URI::Escape: 3.31 YAML: 1.29 threads: 2.15 threads::shared: 1.56 All 27 Perl modules installed
Checking Environmental Variables... $PASAHOME=/public/home/liuyuanchao/software/anaconda3/envs/funannotate/opt/pasa-2.4.1 $TRINITY_HOME=/public/home/liuyuanchao/software/anaconda3/envs/funannotate/opt/trinity-2.8.5 $EVM_HOME=/public/home/liuyuanchao/software/anaconda3/envs/funannotate/opt/evidencemodeler-1.1.1 $AUGUSTUS_CONFIG_PATH=/public/home/liuyuanchao/software/anaconda3/envs/funannotate/config/ ERROR: FUNANNOTATE_DB not set. export FUNANNOTATE_DB=/path/to/dir ERROR: GENEMARK_PATH not set. export GENEMARK_PATH=/path/to/dir
Checking external dependencies... PASA: 2.4.1 CodingQuarry: 2.0 Trinity: 2.8.5 augustus: 3.3.3 bamtools: bamtools 2.5.1 bedtools: bedtools v2.30.0 blat: BLAT v36 diamond: 2.0.8 emapper.py: 2.1.3 ete3: 3.1.2 exonerate: exonerate 2.4.0 fasta: no way to determine glimmerhmm: 3.0.4 gmap: 2021-08-25 gmes_petap.pl: 4.68_lic hisat2: 2.2.1 hmmscan: HMMER 3.3.2 (Nov 2020) hmmsearch: HMMER 3.3.2 (Nov 2020) java: 11.0.8-internal kallisto: 0.46.1 mafft: v7.490 (2021/Oct/30) makeblastdb: makeblastdb 2.2.31+ minimap2: 2.22-r1101 proteinortho: 6.0.31 pslCDnaFilter: no way to determine salmon: salmon 0.14.1 samtools: samtools 1.9 signalp: 5.0b snap: 2006-07-28 stringtie: 2.1.7 tRNAscan-SE: 2.0.9 (July 2021) tantan: tantan 26 tbl2asn: no way to determine, likely 25.X tblastn: tblastn 2.2.31+ trimal: trimAl v1.4.rev15 build[2013-12-17] trimmomatic: 0.39 All 36 external dependencies are installed
but when we run the commond funannotate test, Some error appeared (funannotate) [liuyuanchao@login /public/home/liuyuanchao/ceshi] $funannotate test -t all --cpus 20 ######################################################### Running
funannotate clean
unit testing: minimap2 mediated assembly duplications Downloading: https://osf.io/8pjbe/download?version=1 Bytes: 252076CMD: funannotate clean -i test.clean.fa -o test.exhaustive.fa --exhaustive #########################################################
6 input contigs, 6 larger than 500 bp, N50 is 427,039 bp Checking duplication of 6 contigs
scaffold_73 appears duplicated: 100% identity over 100% of the contig. contig length: 15153 scaffold_91 appears duplicated: 100% identity over 100% of the contig. contig length: 8858 scaffold_27 appears duplicated: 100% identity over 100% of the contig. contig length: 427039
6 input contigs; 6 larger than 500 bp; 3 duplicated; 3 written to file ######################################################### SUCCESS:
funannotate clean
test complete. ################################################################################################################## Running
funannotate mask
unit testing: RepeatModeler --> RepeatMasker Downloading: https://osf.io/hbryz/download?version=1 Bytes: 375687CMD: funannotate mask -i test.fa -o test.masked.fa --cpus 20 #########################################################
[Dec 07 08:49 AM]: OS: CentOS Linux 7, 20 cores, ~ 131 GB RAM. Python: 3.9.7 [Dec 07 08:49 AM]: Running funanotate v1.8.7 [Dec 07 08:49 AM]: Soft-masking simple repeats with tantan [Dec 07 08:49 AM]: Repeat soft-masking finished: Masked genome: /public/home/liuyuanchao/ceshi/test-mask_d0755630-7e24-4b9a-90e8-50d205a3cd9f/test.masked.fa num scaffolds: 2 assembly size: 1,216,048 bp masked repeats: 50,965 bp (4.19%)
######################################################### SUCCESS:
funannotate mask
test complete. ################################################################################################################## Running
funannotate predict
unit testingCMD: funannotate predict -i test.softmasked.fa --protein_evidence protein.evidence.fasta -o annotate --augustus_species saccharomyces --cpus 20 --species Awesome testicus]]]]]]]]]]]]#########################################################
[Dec 07 08:49 AM]: OS: CentOS Linux 7, 20 cores, ~ 131 GB RAM. Python: 3.9.7 [Dec 07 08:49 AM]: Running funannotate v1.8.7 [Dec 07 08:49 AM]: ERROR: dikarya busco database is not found, install with funannotate setup -b dikarya ######################################################### Traceback (most recent call last): File "/public/home/liuyuanchao/software/anaconda3/envs/funannotate/bin/funannotate", line 10, in
sys.exit(main())
File "/public/home/liuyuanchao/software/anaconda3/envs/funannotate/lib/python3.9/site-packages/funannotate/funannotate.py", line 705, in main
mod.main(arguments)
File "/public/home/liuyuanchao/software/anaconda3/envs/funannotate/lib/python3.9/site-packages/funannotate/test.py", line 405, in main
runPredictTest(args)
File "/public/home/liuyuanchao/software/anaconda3/envs/funannotate/lib/python3.9/site-packages/funannotate/test.py", line 160, in runPredictTest
assert 1500 <= countGFFgenes(os.path.join(
File "/public/home/liuyuanchao/software/anaconda3/envs/funannotate/lib/python3.9/site-packages/funannotate/test.py", line 45, in countGFFgenes
with open(input, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'test-predict_d0755630-7e24-4b9a-90e8-50d205a3cd9f/annotate/predict_results/Awesome_testicus.gff3'