Commit 2ce9b095 by Eric Coissac

Change example doc

parent 2e038ce2
#!/usr/local/bin/python
'''
:py:mod:`obihead` : Extract the first sequences
===============================================
:py:mod:`obihead` : Extracts the first sequences
================================================
.. codeauthor:: Eric Coissac <eric.coissac@metabarcoding.org>
:py:mod:`obihead` command is in some way analog to the standard Unix `head` command.
It selects the head of :ref:`a sequence file<the-sequence-files>`.
It selects the head of :ref:`a sequence file <format>`.
But instead of working text line by text line as the standard Unix tool,
selection is done at the sequence level. You can specify the number of sequences to be printed.
selection is done at the sequence level. You can specify the number of sequences to select.
Example
-------
......@@ -16,6 +16,9 @@ Example
.. code-block:: bash
> obihead -n 150 seq1.fasta > seq2.fasta
Selects the 150 fist sequences from the ``seq1.fasta`` file and store
them to the ``seq2.fasta`` file
'''
......
#!/usr/local/bin/python
'''
:py:mod:`obitail` : Extract the last sequences
==============================================
:py:mod:`obitail` : Extracts the last sequences
===============================================
.. codeauthor:: Eric Coissac <eric.coissac@metabarcoding.org>
......@@ -17,6 +17,9 @@ Example
> obitail -n 150 seq1.fasta > seq2.fasta
Selects the 150 last sequences from the ``seq1.fasta`` file and store
them to the ``seq2.fasta`` file
'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment