The applications listed here are available for use in the Discovery Environment and are documented in: Discovery Environment Manual.

Discovery Environment Applications List

The box below searches only this space.
To search the entire iPlant wiki, enter your query in the box at the upper right.

 

 

 

 

 

Skip to end of metadata
Go to start of metadata

Extract First Lines From a File

Extract First Lines From a File is a wrapper for the UNIX head command, which can be used to select and print out to a file a designated number of lines from a text file.

Quick Start

Test Data

All files are located in the Community Data directory of the iPlant Discovery Environment at the following path:

Community Data > iplantcollaborative > example_data > extract_first_lines_from_a_file

Input File(s)

Use SampleText.txt as test data.

Parameters Used in App

When the app is run in the Discovery Environment, use the following parameters with the above input file(s) to get the output provided in the next section below.

  • Default parameters only, no further configuration needed.

Output File(s)

Expect a text file as output named head_output.txt.

Tool Source for App