#PBS -q bl2x220g7q
#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=~/loxP_project/2021-11-22_rings/
cd $WORK_DIR;
# Declare a string array with type
declare -a files=("rings1" "rings2")
for file in "${files[@]}"
do
echo ${file}
python ~/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
