-
Notifications
You must be signed in to change notification settings - Fork 23
head_records
Martin Asser Hansen edited this page Oct 2, 2015
·
5 revisions
head_records truncate the stream after a number of records (default 10), which is
useful if you want to inspect the output of an analysis to check that your pipeline
is working correctly before starting on the real thing. Note that the biopieces of
the read_*
type all have the -n
switch which works similarly.
... | head_records [options]
[-? | --help] # Print full usage description.
[-n <uint> | --num=<uint>] # Number of records to emit - Default=10
[-I <file!> | --stream_in=<file!>] # Read input from stream file - Default=STDIN
[-O <file> | --stream_out=<file>] # Write output to stream file - Default=STDOUT
[-v | --verbose] # Verbose output.
To emit the first 40 records of the stream, do:
... | head_records -n 40
Martin Asser Hansen - Copyright (C) - All rights reserved.
August 2007
GNU General Public License version 2
http://www.gnu.org/copyleft/gpl.html
head_records is part of the Biopieces framework.