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