Skip to content

Commit f3cc6c0

Browse files
committed
docs foc segm2fam
1 parent 342540c commit f3cc6c0

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

doc/annotate.rst

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,55 @@
33
Annotation
44
----------
55

6+
.. _SegmentsToFamilies:
7+
8+
SegmentsToFamilies
9+
^^^^^^^^^^^^^^^^^^
10+
11+
Will replace V and J segment IDs in samples with segment 'family' IDs. Here, 'families' are defined as clusters of V/J
12+
sequences built using hierarchial clustering of pairwise amino acid sequence alignment distances. Thus, two segments are
13+
assigned to the same family if they have homologous sequence. The actual table of segment <> family conversions can
14+
be accessed `here <https://github.com/mikessh/vdjtools/blob/master/src/main/resources/vj_families.txt>`__.
15+
16+
Command line usage
17+
~~~~~~~~~~~~~~~~~~
18+
19+
.. code-block:: bash
20+
21+
$VDJTOOLS SegmentsToFamilies \
22+
[options] [sample1.txt sample2.txt ... if -m is not specified] output_prefix
23+
24+
Parameters:
25+
26+
+-------------+-----------------------+--------------------+----------------------------------------------------+
27+
| Shorthand |      Long name      | Argument | Description |
28+
+=============+=======================+====================+====================================================+
29+
| ``-m`` | ``--metadata`` | path | Path to metadata file. See :ref:`common_params` |
30+
+-------------+-----------------------+--------------------+----------------------------------------------------+
31+
| ``-s`` | ``--species`` | name | [Required] Species name: ``human`` or ``mouse``. |
32+
+-------------+-----------------------+--------------------+----------------------------------------------------+
33+
| ``-h`` | ``--help`` | | Display help message |
34+
+-------------+-----------------------+--------------------+----------------------------------------------------+
35+
| ``-c`` | | | Compressed output. |
36+
+-------------+-----------------------+--------------------+----------------------------------------------------+
37+
38+
Tabular output
39+
~~~~~~~~~~~~~~
40+
41+
Samples are returned as is, with the content of ``v`` and ``j`` columns replaced by families.
42+
43+
A metadata file will be created for resulting samples with ``segm2fam``
44+
appended to the ``..filter..`` metadata column.
45+
46+
47+
Graphical output
48+
~~~~~~~~~~~~~~~~
49+
50+
none
51+
52+
53+
--------------
54+
655
.. _CalcDegreeStats:
756
857
CalcDegreeStats

0 commit comments

Comments
 (0)