|
| 1 | +.. user_adhoc - description of how to use the processor for ad hoc sequence processing |
| 2 | + Author: seh2 |
| 3 | + Email: sam.hunt@npl.co.uk |
| 4 | + Created: 23/3/20 |
| 5 | +
|
| 6 | +.. _user_adhoc: |
| 7 | + |
| 8 | +User Guide - Ad-hoc Sequence Processing |
| 9 | +======================================= |
| 10 | + |
| 11 | +This section provides a user guide for running the **hypernets_processor** module to process specified field acquisitions, or sequences, on an ad-hoc basis outside of any automated processing. |
| 12 | + |
| 13 | +Prerequisites |
| 14 | +------------- |
| 15 | + |
| 16 | +**hypernets_processor** is distributed using Git, from the project's `GitHub <https://github.com/HYPERNETS/hypernets_processor>`_ repository. Git can be installed from the from the `Git website <https://git-scm.com>`_. |
| 17 | + |
| 18 | +Python 3 is required to run the software, the `Anaconda <https://www.anaconda.com>`_ distribution provides a convenient way to install this. |
| 19 | + |
| 20 | +Installation |
| 21 | +------------ |
| 22 | + |
| 23 | +First clone the project repository from GitHub:: |
| 24 | + |
| 25 | + $ git clone https://github.com/HYPERNETS/hypernets_processor.git |
| 26 | + |
| 27 | +Then install the module with pip:: |
| 28 | + |
| 29 | + $ pip install hypernets_processor/ |
| 30 | + |
| 31 | +This will also automatically install any dependencies. |
| 32 | + |
| 33 | +If you are installing the module to contribute to its development, it is recommended you follow the install instructions on the :ref:`developers` page. |
| 34 | + |
| 35 | +Sequence Processing |
| 36 | +------------------- |
| 37 | + |
| 38 | +Once installed the `hypernets_sequence_processor` command-line tool provides the means to process raw sequence data, it is run as follows:: |
| 39 | + |
| 40 | + $ hypernets_sequence_processor -i <input_directory> -o <output_directory> -n <network> |
| 41 | + |
| 42 | +where: |
| 43 | + |
| 44 | +* `input_directory` - directory of raw sequence product, or directory containing a number of raw sequence products, to process. |
| 45 | +* `output_directory` - directory to write output data to. |
| 46 | +* `network` - network name, land or water. The default configuration for this network is applied for the processing. |
| 47 | + |
| 48 | +To see more options, try:: |
| 49 | + |
| 50 | + $ hypernets_sequence_processor --help |
| 51 | + |
| 52 | +Alternatively, the processing can be specified with a job configuration file as follows:: |
| 53 | + |
| 54 | + $ hypernets_sequence_processor -j <job_config_path> |
| 55 | + |
| 56 | +where: |
| 57 | + |
| 58 | +* `job_config_path` - path of a job configuration file. See :ref:`user_processor-job_setup` for information on initialising a job configuration file. |
| 59 | + |
| 60 | +Specifying processing with a custom job configuration file allows non-network-default configuration values to be set, for example, chosen calibration function. |
0 commit comments