Skip to content

Running ParaHunter.sh #3

@liamfriar

Description

@liamfriar

Hi,

I am having trouble running ParaHunter. Running on Linux Ubuntu.

I set up using the instructions from the github.
git clone https://github.com/Arkadiy-Garber/ParaHunter.git cd ParaHunter bash setup.sh conda activate parahunt

I then try to run:
cd ~/tools/ParaHunter indir=~/data/find_plasmids/reference in_faa=Taz_complete.faa in_fna=Taz_complete.fna bash ParaHunter.sh -a ${indir}${in_faa} -n ${indir}/${in_fna}

And receive the following error:
ParaHunter.sh: line 61: fixfastas.py: command not found Clustering ORFs rm: cannot remove 'tmp/': No such file or directory rm: cannot remove 'clu': No such file or directory rm: cannot remove '*.index': No such file or directory rm: cannot remove '/home/liam/data/find_plasmids/referenceTaz_complete.faa.db': No such f ile or directory rm: cannot remove '/home/liam/data/find_plasmids/referenceTaz_complete.faa.db_h': No such file or directory rm: cannot remove '/home/liam/data/find_plasmids/referenceTaz_complete.faa.db.lookup': No such file or directory rm: cannot remove 'clu_seq.*': No such file or directory rm: cannot remove '/home/liam/data/find_plasmids/referenceTaz_complete.faa.db_h.dbtype': No such file or directory rm: cannot remove '/home/liam/data/find_plasmids/referenceTaz_complete.faa.db.source': No such file or directory mv: cannot stat 'clu.tsv': No such file or directory \033[0;32mSplitting ORFs into separate filescd g ParaHunter.sh: line 91: clu2fasta.py: command not found \033[0;32mPerforming dN/dS analysis with Codeml ParaHunter.sh: line 93: parahunter-dnds.py: command not found

If I try to call fixfastas.py on its own:
python fixfastas.py
I get
Traceback (most recent call last): File "/home/liam/tools/ParaHunter/fixfastas.py", line 385, in <module> nuc = open(args.nuc) FileNotFoundError: [Errno 2] No such file or directory: 'NA'
which indicates to me that fixfastas.py can be run.

I think this has something to do with the fact that I have to call
bash ParaHunter.sh
and
python fixfastas.py
while the examples on this github don't need the bash and then the call to fixfastas.py within ParaHunter.sh doesn't call python

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