#PBS -q xl230g9q
#PBS -l select=1:ncpus=5:mem=10g
#PBS -l walltime=01:00:00
#PBS -l cput=01:00:00

source activate nn_Polina_tf2;
WORK_DIR=/mnt/storage/home/psbelokopytova/scratch/202312241147Polina/loxP_project/2023-05-18
cd $WORK_DIR;
# Declare a string array with type
declare -a files=("sum_rear1" "sum_rear2" "sum_rear3" "sum_wt1" "sum_wt2")
for file in "${files[@]}"
do
echo ${file}
python ~/scratch/202312241147Polina/loxP_project/extract_by_read_ids.py $WORK_DIR/cutadapt/cut_barc_praimers_cutIL_${file}_R1.fq.gz $WORK_DIR/cutadapt/cut_barc_praimers_cutIL_${file}_R2.fq.gz $WORK_DIR/cutadapt/${file}_1.fq $WORK_DIR/cutadapt/${file}_2.fq
done
