#!/bin/bash
#SBATCH -t 4:00:00
#SBATCH --nodes=1 --ntasks-per-node=1
#SBATCH --mem=288g
#SBATCH --export=NONE
#SBATCH --mail-user=alex_labossiere@uri.edu
#SBATCH --mail-type=BEGIN,END,FAIL

echo "emails sent"

module load QIIME2/2024.2

echo "emails sent"

clsdir=/data/mramseylab/16S/classifiers/homd-classifier/exported-taxa/taxonomyforHOMD.tsv


if qiime tools import \
  --input-path $clsdir \
  --type 'FeatureData[Taxonomy]' \
  --input-format TSVTaxonomyFormat \
  --output-path modifiedHOMDforbars.qza; then
  echo "modified file for barplots made"
  echo "This can be used with your barplot script now"
fi
