#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=/mnt/storage/home/psbelokopytova/scratch/202112281307data_Polya/4c_plasmid/2021-11-22/
cd $WORK_DIR;
# Declare a string array with type
declare -a files=("P4C5" "P4C25")
for file in "${files[@]}"
do
echo ${file}
python /mnt/storage/home/psbelokopytova/scratch/202112281307data_Polya/4c_plasmid/extract_by_read_ids.py $WORK_DIR/cutadapt/cut_barc_praimers_cutIL_${file}_1.fq.gz $WORK_DIR/cutadapt/cut_barc_praimers_cutIL_${file}_2.fq.gz $WORK_DIR/cutadapt/${file}_1.fq $WORK_DIR/cutadapt/${file}_2.fq
done
