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.

Inputs

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.

Outputs

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

fastainfo | fastaread | fastawrite | fastqread | fastqwrite | sffinfo | sffread

Tutorials

Related Links

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS