1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
.. _make_library_id_lists:
.. index:: make_library_id_lists.py
*make_library_id_lists.py* -- Make library id lists
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Description:**
Makes a list of the ids corresponding to each library represented in the input fasta file. Assumes that the libraries are the output of `split_libraries.py <./split_libraries.html>`_ and that they contain the 454 read id for each sequence as is standard in the `split_libraries.py <./split_libraries.html>`_ output. Produces a separate file for each library.
**Usage:** :file:`make_library_id_lists.py [options]`
**Input Arguments:**
.. note::
**[REQUIRED]**
-i, `-`-input_fasta
The path to a FASTA file containing input sequences
**[OPTIONAL]**
-s, `-`-screened_rep_seqs
The path to a FASTA file containing screened representative seqs[DEFAULT: None]
-u, `-`-otus
The path to an OTU file mapping OTUs onto rep seqs[DEFAULT: None]
-o, `-`-outdir
The base directory to save results (one file per library).
-f, `-`-field
Index of space-delimited field to read id from [DEFAULT: 1]
`-`-debug
Show debug output.
**Output:**
This script produces a separate file for each library.
**Example:**
Create a list containing library ids for a fasta file (seqs.fna):
::
make_library_id_lists.py -i seqs.fna -o results/
|