Products & Services Solutions Academia Support User Community Company

Learn more about Bioinformatics Toolbox   

fastqinfo - Return information about FASTQ file

Syntax

InfoStruct = fastqinfo(File)

Description

InfoStruct = fastqinfo(File) returns a MATLAB structure containing summary information about a FASTQ-formatted file.

Input Arguments

File

String specifying a file name or path and file name of a FASTQ-formatted file. If you specify only a file name, that file must be on the MATLAB search path or in the current folder.

Output Arguments

InfoStruct

MATLAB structure containing summary information about a FASTQ-formatted file. The structure contains the following fields.

FieldDescription
FilenameName of the file.
FileModDateModification date of the file.
FileSizeSize of the file in bytes.
NumberOfEntries Number of sequence reads in the file.

Examples

Return a summary of the contents of a FASTQ file:

info = fastqinfo('SRR005164_1_50.fastq')

info = 

           Filename: 'SRR005164_1_50.fastq'
        FileModDate: '03-Mar-2009 14:21:51'
           FileSize: 16702
    NumberOfEntries: 50

See Also

BioIndexedFile | BioRead | fastainfo | fastaread | fastawrite | fastqread | fastqwrite | saminfo | samread | sffinfo | sffread

Tutorials

Related Links

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS