This tool runs RepeatModeler, curates each discovered repeat family against the genome, and then runs RepeatMasker.
The curation stage:
- Builds a nucleotide BLAST database from the staged genome.
- Searches the RepeatModeler
consensi.fa.classifiedlibrary against it. - Keeps the 20 best hits per family, merges nearby fragments, and adds 2 kb flanks.
- Reverse-complements regions whose hits are predominantly on the minus strand.
- Writes per-family FASTA files and MAFFT alignments under
curation/.
Required executables are resolved from PATH. Custom installations can be selected with:
REP_REPEATMASKERREP_REPEATMODELERREP_BUILD_DATABASEREP_MAKEBLASTDBREP_BLASTNREP_MAFFT
Use --curation_target <FASTA> to search the RepeatModeler consensus against a different genome; gzip-compressed targets are decompressed into the curation workspace. Use --curation_only to resume curation from an existing RepeatModeler output without rerunning discovery.
The Rust API also exposes CurationConfig and run_curation_with_config to customize flank length, maximum hit distance, orientation threshold, and hits per query.