#!/bin/bash

# Read names from names.txt
while IFS= read -r name; do
    # Construct directory name
    dir_name="/usr/local/Dfam-warehouse/releases/annotation_exports/${name}_df38"

    # Check if directory exists
    if [ -d "$dir_name" ]; then
        echo "Directory $dir_name does not exist."
    fi
done < $1