/*
* EDIT THE FILE PATH BELOW TO IMPORT A FASTQ FILE
*/
-FASTQ_FILE = "/Users/jprocter/Downloads/small_normalised_illumina_adeno.fastq.gz"
-FASTQ_FILE = "/Users/jprocter/Downloads/test.fastq"
+FASTQ_FILE = "/Users/jprocter/Downloads/test.fastq"
+FASTQ_FILE_PROTOCOL = DataSourceType.FILE // could also be DataSourceType.URL
/*
* A parser class to read or write the format
// read in the file specified at the top of the Groovy script
-FastQFile parser = new FastQFile(new FileParse(FASTQ_FILE, DataSourceType.FILE));
+FastQFile parser = new FastQFile(new FileParse(FASTQ_FILE, FASTQ_FILE_PROTOCOL));
AlignmentI al = new jalview.datamodel.Alignment(parser.getSeqsAsArray());
parser.addAnnotations(al);
jalview.gui.AlignFrame newwindow = new jalview.gui.AlignFrame(al,800,600);