<commit_before>View Configs
##########################

Genome Position Search Box
**************************

The genome position search box section a view config is specific to each view.
It is used to search for locations in the view. The full configuration has a
pointer to a chromSizes file and an autocomplete source which will provide
suggestions for gene names. The autocomplete source should point to a
`gene-annotations` file.

UIDs
****

UID stands for unique identifier. Every view and track in the higlass view
config has a UID. If it's not specified in the viewconfig it's randomly
generated by the client when the view is created.

initialXDomain and initialYDomain
*********************************

The fields contain the initial coordinates which are displayed when HiGlass
first loads the viewconfig. If the ``initialYDomain`` is not present, it is
set to equal the ``initialXDomain``. If that isn't present either, both are
assigned values of ``[0,1]]``.

.. code-block:: javascript

    {
        views: [
            {
                  "uid": "AhI0wMP6ScybnFp6BmLuPQ",
                  "initialXDomain": [
                    973907089.1176914,
                    1196247735.9596405
                  ],
                  "initialYDomain": [
                    -12281154450.083118,
                    -12145323104.213125
                  ],
                "genomePositionSearchBox": {
                    "autocompleteServer": "http://higlass.io/api/v1",
                    "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
                    "chromInfoServer": "http://higlass.io/api/v1",
                    "chromInfoId": "hg19",
                    "visible": true
                }
        ]
    }

<commit_msg>Added a section on trackSourceServers<commit_after>View Configs
##########################

Genome Position Search Box
**************************

The genome position search box section a view config is specific to each view.
It is used to search for locations in the view. The full configuration has a
pointer to a chromSizes file and an autocomplete source which will provide
suggestions for gene names. The autocomplete source should point to a
`gene-annotations` file.

UIDs
****

UID stands for unique identifier. Every view and track in the higlass view
config has a UID. If it's not specified in the viewconfig it's randomly
generated by the client when the view is created.

initialXDomain and initialYDomain
*********************************

The fields contain the initial coordinates which are displayed when HiGlass
first loads the viewconfig. If the ``initialYDomain`` is not present, it is set
to equal the ``initialXDomain``. If that isn't present either, both are
assigned values of ``[0,1]]``.

.. code-block:: javascript

    {
        views: [
            {
                  "uid": "AhI0wMP6ScybnFp6BmLuPQ",
                  "initialXDomain": [
                    973907089.1176914,
                    1196247735.9596405
                  ],
                  "initialYDomain": [
                    -12281154450.083118,
                    -12145323104.213125
                  ],
                "genomePositionSearchBox": {
                    "autocompleteServer": "http://higlass.io/api/v1",
                    "autocompleteId": "OHJakQICQD6gTD7skx4EWA",
                    "chromInfoServer": "http://higlass.io/api/v1",
                    "chromInfoId": "hg19",
                    "visible": true
                }
        ]
    }

trackSourceServers
******************

The field `trackSourceServers` at the root level of the viewconf tells higlass
where it can find tracks to load. If you have a local instance running, then
`http://localhost/api/v1` should be included. Our public instance at
`http://higlass.io` also provides access to a number of public datasets.

.. code-block:: javascript

    {
      "trackSourceServers": [
        "http://higlass.io/api/v1",
        "http://localhost:8989/api/v1"
      ],
    }
{'fraction_non_alphanumeric': 0.12034025519139355, 'fraction_numerical': 0.041280960720540404, 'mean_word_length': 2.255700325732899, 'pattern_counts': {'":': 19, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '59162', 'n_tokens_mistral': 1193, 'n_tokens_neox': 1027, 'n_words': 375}