#!/bin/bash

# Convert  old style 1-line Illumina files into the
# modern 4-line fastq format.

# For each file in the current directory matching
# *sequence.txt, uncompress the file, create the
# fastq file, and recompress the original file.

for file in `ls *sequence.txt`
do
    echo "---------------------"
    echo "Converting $file to fastq"
    python3 $birch/local/script/Illumina_txt2fastq.py $file
done    

