Skip to content

FileNotFoundError: [Errno 2] No such file or directory: '~/python3.7/lib/python3.7/site-packages/fdog/bin/pathconfig.txt' #28

New issue

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

Closed
erya-song opened this issue Feb 6, 2023 · 3 comments

Comments

@erya-song
Copy link

Hello,
I met this error when I setup fDOG:

Traceback (most recent call last):
File "/public/home/HuCH/jxhuang/biosoft/python3.7/bin/fdog.setup", line 8, in
sys.exit(main())
File "/public/home/HuCH/jxhuang/biosoft/python3.7/lib/python3.7/site-packages/fdog/setupfDog.py", line 256, in main
with open(pathconfig_file, 'w') as cf:
FileNotFoundError: [Errno 2] No such file or directory: '/public/home/HuCH/jxhuang/biosoft/python3.7/lib/python3.7/site-packages/fdog/bin/pathconfig.txt

And I can not find the "bin" dictionary in the path "/public/home/HuCH/jxhuang/biosoft/python3.7/lib/python3.7/site-packages/fdog/", it presents as:
image

How to solve this problem?
Thanks.

@trvinh
Copy link
Member

trvinh commented Feb 6, 2023

Hi @erya-song
please try installing the v0.1.7 to see if the problem is solved.
Best,
Vinh

@erya-song
Copy link
Author

erya-song commented Feb 24, 2023 via email

@trvinh
Copy link
Member

trvinh commented Feb 24, 2023

Hi Yachao,
I have check your command with the first 50 sequences of the AEV.fa file and haven't had any issues with it. However, it seems that you have now problem with FAS. See:

Error running
/public/home/HuCH/jxhuang/wangyc/biosoft/FAStools/fLPS/fLPS -s -t 1e-07 "/public/home/HuCH/jxhuang/wangyc/wgd/hmstr/1taxa/lib91/annotation_dir/tmp/AEV@20340@230224_AEV_1000015.fa"
Error running
cat "/public/home/HuCH/jxhuang/wangyc/wgd/hmstr/1taxa/lib91/annotation_dir/tmp/AEV@20340@230224_AEV_1000001.fa" | /public/home/HuCH/jxhuang/wangyc/biosoft/FAStools/TMHMM/decodeanhmm -f /public/home/HuCH/jxhuang/wangyc/biosoft/FAStools/TMHMM//lib/TMHMM2.0.options -modelfile /public/home/HuCH/jxhuang/wangyc/biosoft/FAStools/TMHMM/lib/TMHMM2.0.model
...

Could you please try running this command only:

fas.doAnno -i test_annofas.fa -o test_output

Don't worry where the test_annofas.fa is, just run that command and check if there are any error messages. If not, please check for the output file in test_output folder (you can use any online JSON viewer to view the file), if all of the annotations are there (not all the proteins will have the complete annotation from all the tools PFAM, SMART, fLPS, SEG, COILS2, SignalP and TMHMM, but in the whole annotation file you will find at least one entry of each tool).
If you encounter any problems with that, please try to install FAS manually again (see https://github.com/BIONF/FAS and https://github.com/BIONF/FAS/wiki/setup). After the above command of fas.doAnno successfully run, you can check the demo command of fDOG

fdog.run --seqFile infile.fa --jobName test --refspec HUMAN@9606@3

If everything works fine without any error messages, you can use it with your own data.
You can directly write me via email ([email protected]), if it is more convenient for you :)
Best,
Vinh

HannahBioI added a commit that referenced this issue Oct 24, 2023
commit 3f2929b
Merge: 7fb439f 959e0a0
Author: Hannah Muelbaier <[email protected]>
Date:   Mon Oct 23 15:06:29 2023 +0200

    Merge pull request #2 from BIONF/master

    deactivate fas config output

commit 7fb439f
Author: mueli94 <[email protected]>
Date:   Fri Oct 20 10:05:26 2023 +0200

    Revert "Merge branch 'fdog-assembly' of https://github.com/mueli94/fDOG-Assembly into fdog-assembly"

    This reverts commit d688bbb, reversing
    changes made to 5068b7a.

commit d0d359f
Merge: 5068b7a d688bbb
Author: mueli94 <[email protected]>
Date:   Fri Oct 20 10:05:01 2023 +0200

    Merge branch 'fdog-assembly' of https://github.com/mueli94/fDOG-Assembly into fdog-assembly

commit d688bbb
Merge: 5068b7a 3b62945
Author: mueli94 <[email protected]>
Date:   Thu Oct 19 16:28:55 2023 +0200

    Merge branch 'fdog-assembly' of https://github.com/mueli94/fDOG-Assembly into fdog-assembly

commit 5068b7a
Author: mueli94 <[email protected]>
Date:   Thu Oct 19 16:20:18 2023 +0200

    contig fasta files where delited from the tmp folder to save memory

commit 3b62945
Author: Hannah <[email protected]>
Date:   Thu Sep 21 16:31:17 2023 +0200

    further updates to adapt fDOG-Assembly to the new fDOG version. Additionally bugfix in co-ortholog detection if MSA crashed due to too many sequences.

commit 41660e6
Author: Hannah <[email protected]>
Date:   Wed Sep 20 10:34:56 2023 +0200

    fixed augustus version

commit 5d77522
Author: mueli94 <[email protected]>
Date:   Tue Sep 19 15:02:57 2023 +0200

    Bugfix muscle v5 command in fdog.addCoreGroup

commit 959e0a0
Author: trvinh <[email protected]>
Date:   Tue Sep 19 14:49:48 2023 +0200

    deactivate fas config output

commit ea40a0c
Merge: 3140fc4 3cc809c
Author: Hannah <[email protected]>
Date:   Mon Sep 18 17:27:04 2023 +0200

    Merge branch 'fdog-assembly' of https://github.com/mueli94/fDOG-Assembly into fdog-assembly

commit 3140fc4
Author: Hannah <[email protected]>
Date:   Mon Sep 18 17:25:39 2023 +0200

    script to produce msa and hmm in the format fDOG-Assembly requires from a fasta file

commit 3cc809c
Author: Hannah <[email protected]>
Date:   Mon Sep 18 17:21:07 2023 +0200

    script to produce msa and hmm in the format fDOG-Assembly requires from a fasta file

commit ef5acb7
Author: Hannah <[email protected]>
Date:   Mon Sep 18 17:20:09 2023 +0200

    further changes to adapt to new fDOG version

commit a832824
Author: Hannah <[email protected]>
Date:   Mon Sep 18 13:17:11 2023 +0200

    adjustments to new muscle version and fDOG version

commit 8df8a73
Author: Hannah <[email protected]>
Date:   Mon Sep 18 11:38:06 2023 +0200

    added fDOG-Assembly dependencies

commit fc0ea45
Author: Hannah <[email protected]>
Date:   Mon Sep 18 10:58:18 2023 +0200

    added fDOG-Assembly workflow

commit 5ccf824
Author: trvinh <[email protected]>
Date:   Wed Aug 16 13:33:40 2023 +0200

    check valid rank for refspec only

commit deeda8a
Author: Vinh Tran <[email protected]>
Date:   Wed Aug 16 13:19:31 2023 +0200

    Update CHANGELOG.md

commit eb902a6
Author: trvinh <[email protected]>
Date:   Wed Aug 16 12:03:36 2023 +0200

    option to not added all taxa

commit e6ce3d1
Author: trvinh <[email protected]>
Date:   Wed Aug 16 11:50:10 2023 +0200

    changed orthID NA to fdogMA for manually added taxa

commit 5cb0946
Author: trvinh <[email protected]>
Date:   Wed Aug 16 09:57:26 2023 +0200

    added all searchTaxa to phyloprofile

commit 3e0859b
Author: trvinh <[email protected]>
Date:   Tue Aug 15 15:39:54 2023 +0200

    added check for invalid min-/maxDist; works with fasta36.3.8g

commit b7ec6fa
Author: trvinh <[email protected]>
Date:   Tue Aug 15 15:19:36 2023 +0200

    fixed worrking with old fasta36

commit 553cdaa
Author: trvinh <[email protected]>
Date:   Tue Aug 15 12:44:18 2023 +0200

    added check for invalid min-/maxDist; works with fasta36.3.8g

commit c756ab0
Author: trvinh <[email protected]>
Date:   Tue Aug 15 11:48:59 2023 +0200

    added check for invalid min-/maxDist; works with fasta36.3.8g

commit a746c8f
Author: trvinh <[email protected]>
Date:   Tue Aug 15 11:32:45 2023 +0200

    added check for invalid min-/maxDist; works with fasta36.3.8g

commit 48372cf
Author: trvinh <[email protected]>
Date:   Tue Jul 18 11:11:37 2023 +0200

    added warning for no hmm hit

commit a8541f8
Author: trvinh <[email protected]>
Date:   Thu Jun 15 16:24:24 2023 +0200

    set seqlen limit for muscle5

commit b06b3a1
Author: trvinh <[email protected]>
Date:   Mon Jun 12 14:09:09 2023 +0200

    fixed mapping file for addTaxon

commit c5ca07c
Author: trvinh <[email protected]>
Date:   Thu May 25 14:13:45 2023 +0200

    fixed output filename for muscle5

commit b014157
Author: trvinh <[email protected]>
Date:   Thu May 11 13:13:19 2023 +0200

    check empty tmp dir before deleting in addTaxon

commit 052cf70
Author: trvinh <[email protected]>
Date:   Fri Mar 10 15:42:15 2023 +0100

    muscle5,checkBlast,ignoreAnnoCheck

commit 7e6bfbc
Author: trvinh <[email protected]>
Date:   Wed Feb 22 09:57:23 2023 +0100

    adapt evalue

commit 56995b1
Author: trvinh <[email protected]>
Date:   Wed Feb 22 09:56:40 2023 +0100

    adapt evalue

commit 7798d15
Author: trvinh <[email protected]>
Date:   Mon Feb 20 13:50:31 2023 +0100

    rename log fdogs.run

commit 03c9038
Author: trvinh <[email protected]>
Date:   Fri Feb 17 14:29:03 2023 +0100

    fix number of hmmhits core compilation

commit f7c4cf8
Author: trvinh <[email protected]>
Date:   Tue Feb 14 12:47:09 2023 +0100

    fix check for pathconfig file

commit 5785980
Author: trvinh <[email protected]>
Date:   Tue Feb 14 11:14:23 2023 +0100

    fix sorting hmm hits

commit bb185a3
Author: trvinh <[email protected]>
Date:   Mon Feb 6 14:14:52 2023 +0100

    add several options to work with data paths; resolves: #28

commit 8bd2359
Author: trvinh <[email protected]>
Date:   Mon Feb 6 14:04:01 2023 +0100

    add several options to work with data paths; resolves: #28

commit 7c3191a
Author: trvinh <[email protected]>
Date:   Mon Feb 6 13:59:31 2023 +0100

    add several options to work with data paths

commit ab5491b
Author: trvinh <[email protected]>
Date:   Fri Feb 3 15:46:46 2023 +0100

    option to use different names for data folders

commit 198393d
Author: trvinh <[email protected]>
Date:   Fri Feb 3 15:07:49 2023 +0100

    add option to update json file to checkData

commit 4339bad
Author: trvinh <[email protected]>
Date:   Thu Feb 2 17:17:34 2023 +0100

    accept old folder names

commit bfbc324
Author: trvinh <[email protected]>
Date:   Thu Feb 2 16:39:34 2023 +0100

    added fn desc

commit ad8741d
Author: trvinh <[email protected]>
Date:   Thu Feb 2 10:17:29 2023 +0100

    v0.1.5 version bump

commit ad2cbbd
Author: trvinh <[email protected]>
Date:   Thu Feb 2 10:06:53 2023 +0100

    sort hmm hits using domain scores; correct tree walking; setup force not delete data; correct profile output with fasOff

commit 206def0
Author: trvinh <[email protected]>
Date:   Thu Feb 2 10:04:18 2023 +0100

    sort hmm hits using domain scores; correct tree walking; setup force not delete data; correct profile output with fasOff

commit 1edad42
Author: trvinh <[email protected]>
Date:   Fri Jan 27 09:33:58 2023 +0100

    version bump

commit 8855db4
Author: trvinh <[email protected]>
Date:   Fri Jan 27 09:33:38 2023 +0100

    reduce evalue for identify seed ID

commit 8332690
Author: trvinh <[email protected]>
Date:   Thu Jan 26 14:48:27 2023 +0100

    fix bug identify seed ID with reuseCore

commit 9edaf9e
Author: trvinh <[email protected]>
Date:   Thu Jan 26 10:47:14 2023 +0100

    speed up preparation in fdogs.run

commit 2405698
Author: trvinh <[email protected]>
Date:   Thu Jan 26 10:24:23 2023 +0100

    save core jobs for fdogs.run to file

commit e728252
Author: trvinh <[email protected]>
Date:   Thu Jan 26 09:51:00 2023 +0100

    fix path to refspec fa; add amino to hmmbuild

commit f984b26
Author: trvinh <[email protected]>
Date:   Wed Jan 25 14:41:09 2023 +0100

    added preparation runtime to fdogs.run

commit 8624f7d
Author: trvinh <[email protected]>
Date:   Tue Jan 24 14:23:03 2023 +0100

    fixed kimura distance devide by 0

commit dd9a45c
Author: trvinh <[email protected]>
Date:   Tue Jan 24 10:57:38 2023 +0100

    updated README

commit 055051f
Author: Vinh Tran <[email protected]>
Date:   Tue Jan 24 10:21:08 2023 +0100

    0.1.0 (#26)

    * create v0.1.0

    * simplfying hamstr.pl

    * first python conversion

    * modified addTaxon and addTaxa

    * added install/check dependencies

    * rename data folders

    * added runtime for core complilation

commit d8eea1f
Author: trvinh <[email protected]>
Date:   Wed Oct 12 09:10:56 2022 +0200

    fixed addTaxon replacing pipe

commit 20aa839
Author: trvinh <[email protected]>
Date:   Mon Jun 13 10:19:40 2022 +0200

    removed fdog assembly files

commit a0747e0
Author: trvinh <[email protected]>
Date:   Tue Mar 15 14:19:32 2022 +0100

    fdogs accepts dots in seed filename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants