get.insertSize: Get the sequence length of the first sequence in a fastq or...

Description Usage Arguments Details Value Author(s) Examples

View source: R/General_Utils.R

Description

get the insert size (i.e. number of bases) of a fastq or fastq.gz file

Usage

1
get.insertSize(file_path = NA)

Arguments

file_path

the full file path to the file

Details

submitting sequence to a database of the Nucleotide Sequence Database Consortium typically requires to give the insert size of the sequences. This function gets the length of the first sequence in a file, assuming all sequences are of the same length.

Value

a numeric value

Author(s)

Maxime Sweetlove

Examples

1
2
3
4
## Not run: 
get.insertSize("/user/path/to/sequenceFileFolder")

## End(Not run)

biodiversity-aq/OmicsMetaData documentation built on Dec. 19, 2021, 9:44 a.m.