nextgenusfs / funannotate

Eukaryotic Genome Annotation Pipeline
http://funannotate.readthedocs.io
BSD 2-Clause "Simplified" License
300 stars 82 forks source link

funannotate annotate --output folder empty #1008

Open YuLanSky opened 3 months ago

YuLanSky commented 3 months ago

funannotate v1.8.15

After run, the funannotate annotate --output folder is empty, but the result files annotate_misc and annotate_results is in the funannotate predict --output folder

What command did you issue?

#six:run funannotate annotate

output_dir_annoatate="funanno_annotate"
output_dir_iprscan="funanno_iprscan"
echo "Creating output directory for annotate: $output_dir_annoatate"
mkdir -p "$output_dir_annoatate"

echo "Running the funannotate_annotate step..."
for f in "$output_dir_predict"/*; do
  if [ -d "$f" ]; then
    dir_name=$(basename "$f")
    base_name=${dir_name#predict_} 
    echo "Processing directory: $f"

    iprscan_file="${output_dir_iprscan}/iprscan_${base_name}.xml"
    if [ -f "$iprscan_file" ]; then
       echo "Running funannotate on: $f"
       funannotate annotate -i "$f" --output "${output_dir_annoatate}/annotate_${base_name}" \
        --iprscan "$iprscan_file" \
        --cpus 96
    else
      echo "InterProScan results for $base_name not found."
    fi
  else
    echo "No such directory in $f"
  fi
done

Logfiles NA

OS/Install Information You are running Python v 3.8.15. Now checking python packages... biopython: 1.81 goatools: 1.2.3 matplotlib: 3.4.3 natsort: 8.4.0 numpy: 1.24.4 pandas: 1.5.3 psutil: 5.9.8 requests: 2.31.0 scikit-learn: 1.3.2 scipy: 1.10.1 seaborn: 0.13.2 All 11 python packages installed