soedinglab / hh-suite

Remote protein homology detection suite.
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-019-3019-7
GNU General Public License v3.0
515 stars 128 forks source link

commands for splitfasta.pl do not work on conda installs #254

Open paulaberry opened 3 years ago

paulaberry commented 3 years ago

Expected Behavior

For the command splitfasta.pl ManyProteins.fasta to produce individual fastas like in the user guide.

Current Behavior

output from splitfasta.pl <filename>.fasta is splitfasta.pl: command not found

Context

My install steps:

$ conda install -c conda-forge -c bioconda hhsuite
$ git clone https://github.com/soedinglab/pdbx.git
$ cd pdbx
$ mkdir build
$ cd build
$ cmake -DUserInstallOption=ON ../
$ make install
$ mkdir ~/databases/hhsuite_dbs
$ cd ~/databases/hhsuite_dbs
$ wget http://wwwuser.gwdg.de/~compbiol/data/hhsuite/databases/hhsuite_dbs/old-releases/uniprot20_2013_03.tar.gz
$ tar -xvzf uniprot20_2013_03.tar.gz

Your Environment

Include as many relevant details about the environment you experienced the issue in.

milot-mirdita commented 3 years ago

Most of the content of the scripts folder is unsupported (except I guess reformat.pl since that is pretty important) currently. We don't have the resources to maintain those :/

alephreish commented 1 year ago

Two years later (v. 3.3.0): the scripts directory is available in the conda environment but the scripts are not in the $PATH, so one has to use them as $CONDA_PREFIX/scripts/splitfasta.pl. I think there is no reason not to add the scripts to the environment's $PATH.