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.
- To use Extract First Lines From a File, upload your data in plain text format.
- Resources: http://www.gnu.org/software/coreutils/manual/coreutils.html#head-invocation
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
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.
Expect a text file as output named head_output.txt.