#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-09-08_rings/
cd $WORK_DIR;
# Declare a string array with type
declare -a files=("G1_S5" "G2_S6" "G3_S7")
for file in "${files[@]}"
do
echo ${file}
python ~/loxP_project/extract_by_read_ids.py $WORK_DIR/cutadapt/cut_barc_praimers_cutIL_${file}_L001_R1_001.fastq.gz $WORK_DIR/cutadapt/cut_barc_praimers_cutIL_${file}_L001_R2_001.fastq.gz $WORK_DIR/cutadapt/${file}_1.fq $WORK_DIR/cutadapt/${file}_2.fq
done
