Class FastqSequenceFile
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.modules.fastqc.FastqSequenceFile
-
- All Implemented Interfaces:
CounterSequenceFile
,uk.ac.babraham.FastQC.Sequence.SequenceFile
public class FastqSequenceFile extends Object implements CounterSequenceFile
This class define a SequenceFile for FASTQ files.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description FastqSequenceFile(DataFile fastqFile)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCount()
Get the count of the read entries.File
getFile()
int
getPercentComplete()
boolean
hasNext()
boolean
isColorspace()
String
name()
uk.ac.babraham.FastQC.Sequence.Sequence
next()
-
-
-
Constructor Detail
-
FastqSequenceFile
public FastqSequenceFile(DataFile fastqFile) throws IOException
Public constructor.- Parameters:
fastqFile
- FASTQ input file- Throws:
IOException
- if an error occurs when opening the file
-
-
Method Detail
-
getFile
public File getFile()
- Specified by:
getFile
in interfaceuk.ac.babraham.FastQC.Sequence.SequenceFile
-
getPercentComplete
public int getPercentComplete()
- Specified by:
getPercentComplete
in interfaceuk.ac.babraham.FastQC.Sequence.SequenceFile
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceuk.ac.babraham.FastQC.Sequence.SequenceFile
-
isColorspace
public boolean isColorspace()
- Specified by:
isColorspace
in interfaceuk.ac.babraham.FastQC.Sequence.SequenceFile
-
name
public String name()
- Specified by:
name
in interfaceuk.ac.babraham.FastQC.Sequence.SequenceFile
-
next
public uk.ac.babraham.FastQC.Sequence.Sequence next() throws uk.ac.babraham.FastQC.Sequence.SequenceFormatException
- Specified by:
next
in interfaceuk.ac.babraham.FastQC.Sequence.SequenceFile
- Throws:
uk.ac.babraham.FastQC.Sequence.SequenceFormatException
-
getCount
public long getCount()
Description copied from interface:CounterSequenceFile
Get the count of the read entries.- Specified by:
getCount
in interfaceCounterSequenceFile
- Returns:
- the count of the read entries
-
-