| 1 |
======== |
| 2 |
Glossary |
| 3 |
======== |
| 4 |
|
| 5 |
.. glossary:: |
| 6 |
:sorted: |
| 7 |
|
| 8 |
cigar |
| 9 |
Stands for Compact Idiosyncratic Gapped Alignment Report and |
| 10 |
represents a compressed (run-length encoded) pairwise alignment |
| 11 |
format. It was first defined by the Exonerate Aligner, but was alter |
| 12 |
adapted and adopted as part of the :term:`SAM` standard and many other |
| 13 |
aligners. In the Python API, the cigar alignment is presented as a |
| 14 |
list of tuples ``(operation,length)``. For example, the tuple ``[ |
| 15 |
(0,3), (1,5), (0,2) ]`` refers to an alignment with 3 matches, 5 |
| 16 |
insertions and another 2 matches. |
| 17 |
|
| 18 |
region |
| 19 |
A genomic region, stated relative to a :term:`reference` sequence. A |
| 20 |
region consists of reference name ('chr1'), start (15000), and |
| 21 |
end (20000). Start and end can be omitted for regions spanning |
| 22 |
a whole chromosome. If ``end`` is missing, the region will span from |
| 23 |
``start`` to the end of the chromosome. Within pysam, coordinates |
| 24 |
are 0-based half-open intervals, i.e., the first base of the |
| 25 |
reference sequence is numbered zero; and the base at position |
| 26 |
``start`` is part of the interval, but the base at ``end`` is not. |
| 27 |
|
| 28 |
When a region is written as a single string using |
| 29 |
`samtools`_-compatible notation, e.g., 'chr1:15001-20000', |
| 30 |
the string's coordinates instead represent a 1-based closed interval, |
| 31 |
i.e., both (1-based) positions 15,001 and 20,000 are part of the |
| 32 |
interval. (This example denotes the same 5,000-base region as the |
| 33 |
example in the previous paragraph.) |
| 34 |
|
| 35 |
genotype |
| 36 |
An individual's collection of genes. It can also refer to the two alleles |
| 37 |
inherited for a particular gene. |
| 38 |
|
| 39 |
column |
| 40 |
The portion of reads aligned to a single base in the |
| 41 |
:term:`reference` sequence. |
| 42 |
|
| 43 |
tid |
| 44 |
The :term:`target` id. The target id is 0 or a positive integer mapping to |
| 45 |
entries within the sequence dictionary in the header section of |
| 46 |
a :term:`TAM` file or :term:`BAM` file. |
| 47 |
|
| 48 |
contig |
| 49 |
The sequence that a :term:`tid` refers to. For example ``chr1``, ``contig123``. |
| 50 |
|
| 51 |
reference |
| 52 |
Synonym for contig. |
| 53 |
|
| 54 |
BED |
| 55 |
Browser Extensible Data format. A text file format used to store genomic |
| 56 |
:term:`regions<region>` as coordinates and associated notations. |
| 57 |
|
| 58 |
GTF |
| 59 |
The Gene Transfer Format is a file format used to hold information |
| 60 |
about gene structure. |
| 61 |
|
| 62 |
SAM |
| 63 |
A textual format for storing genomic alignment information. |
| 64 |
|
| 65 |
BAM |
| 66 |
Binary SAM format. BAM files are binary formatted, indexed and |
| 67 |
allow random access. |
| 68 |
|
| 69 |
CRAM |
| 70 |
CRAM is a binary format representing the same sequence alignment |
| 71 |
information as SAM and BAM, but offering significantly better |
| 72 |
lossless compression than BAM. |
| 73 |
|
| 74 |
TAM |
| 75 |
Text SAM file. TAM files are human readable files of |
| 76 |
tab-separated fields. TAM files do not allow random access. |
| 77 |
|
| 78 |
sam file |
| 79 |
A file containing aligned reads. The :term:`sam file` can either |
| 80 |
be a :term:`BAM` file or a :term:`TAM` file. |
| 81 |
|
| 82 |
pileup |
| 83 |
Pileup |
| 84 |
|
| 85 |
fetching |
| 86 |
Retrieving all mapped reads mapped to a :term:`region`. |
| 87 |
|
| 88 |
target |
| 89 |
The sequence that a read has been aligned to. Target |
| 90 |
sequences have bot a numerical identifier (:term:`tid`) |
| 91 |
and an alphanumeric name (:term:`Reference`). |
| 92 |
|
| 93 |
tabix file |
| 94 |
A sorted, compressed and indexed tab-separated file created |
| 95 |
by the command line tool :file:`tabix` or the commands |
| 96 |
:meth:`tabix_compress` and :meth:`tabix_index`. The file |
| 97 |
is indexed by chromosomal coordinates. |
| 98 |
|
| 99 |
tabix row |
| 100 |
A row in a :term:`tabix file`. Fields within a row are |
| 101 |
tab-separated. |
| 102 |
|
| 103 |
soft clipping |
| 104 |
soft clipped |
| 105 |
|
| 106 |
In alignments with soft clipping part of the query sequence |
| 107 |
are not aligned. The unaligned query sequence is still part |
| 108 |
of the alignment record. This is in difference to |
| 109 |
:term:`hard clipped` reads. |
| 110 |
|
| 111 |
hard clipping |
| 112 |
hard clipped |
| 113 |
|
| 114 |
In hard clipped reads, part of the sequence has been removed |
| 115 |
prior to alignment. That only a subsequence is aligend might be |
| 116 |
recorded in the :term:`cigar` alignment, but the removed |
| 117 |
sequence will not be part of the alignment record, in contrast |
| 118 |
to :term:`soft clipped` reads. |
| 119 |
|
| 120 |
VCF |
| 121 |
Variant Call Format. |
| 122 |
|
| 123 |
BCF |
| 124 |
Binary :term:`VCF`. |
| 125 |
|
| 126 |
FASTA |
| 127 |
Simple text format containing sequence data, with only the bare |
| 128 |
minimum of metadata. Typically used for reference sequence data. |
| 129 |
|
| 130 |
FASTQ |
| 131 |
Simple text format containing sequence data and associated base |
| 132 |
qualities. |
| 133 |
|
| 134 |
tabix |
| 135 |
Utility in the htslib package to index :term:`bgzip` compressed |
| 136 |
files. |
| 137 |
|
| 138 |
faidx |
| 139 |
Utility in the `samtools`_ package to index :term:`fasta` formatted |
| 140 |
files. |
| 141 |
|
| 142 |
bgzip |
| 143 |
Utility in the htslib package to block compress genomic data |
| 144 |
files. |