RepeatMasker icon indicating copy to clipboard operation
RepeatMasker copied to clipboard

Error: it does not contain a 'Libraries' or 'Matrices' subdirectory

Open kazuaki0816 opened this issue 3 years ago • 2 comments

What do you want to know? I'm using RepeatMasker version 4.1.2-p1.

I get an error when I run the following command: /home/user/local/tool/RepeatMasker/RepeatMasker -lib /home/user/local/tool/RepeatModeler/db/species_final-families.fa /home/user/local/sample_genome.fasta -pa 45 -xsmall -poly -html -ace -gff -excln &> /home/user/local/repeatmasker.log &

The error is: The assumed RepeatMasker installation directory /home/user/local/tool/RepeatMasker does not appear to be correct. E.g it does not contain a 'Libraries' or 'Matrices' subdirectory. This can occur if hard links are used to invoke this script. RepeatMasker version 4.1.2-p1

I have confirmed that these two subdirectories, 'Libraries' and 'Matrices', exist in the RepeatMasker directory. I performed RepeatModeler according to the following page (https://www.repeatmasker.org/RepeatModeler/) and use the output data as a lib file. I use RepeatMasker by compiling the source code from Github.

I want to solve this trouble. I would be grateful if you could help me.

  • Have you installed RepBase RepeatMasker Edition for RepeatMasker? Yes

kazuaki0816 avatar May 18 '21 09:05 kazuaki0816

I use RepeatMasker by compiling the source code from Github.

Please try this again with a full release build (as mentioned in the README):

IMPORTANT: The github 'master' branch only contains the source code files for the latest release of RepeatMasker. A complete distribution including the source files, a copy of the Dfam database, and the required taxonomy data file may be found at the RepeatMasker website: http://www.repeatmasker.org/RMDownload.html


The error is: The assumed RepeatMasker installation directory /home/user/local/tool/RepeatMasker does not appear to be correct. E.g it does not contain a 'Libraries' or 'Matrices' subdirectory. This can occur if hard links are used to invoke this script.

Additionally, did you perhaps not run configure? configure must be run to initialize some paths, including the Libraries/ directory.

jebrosen avatar May 18 '21 15:05 jebrosen

Just had the same problem. As mentioned in the error, there actually was a problem with "hard links". The path under RepeatMasker/Libraries for RepeatMaskerLib.h5 was a symbolic link pointing to RepeatMasker/Libraries/Dfam.h5 but included a full physical path that has changed since the server underwent maintenance; the underlying physical volumes holding our user directories changed, so the physical path was no longer valid.

toddajohnson avatar Jun 07 '22 06:06 toddajohnson