/usr/share/genometools/gtdata/doc/csa.lua is in genometools-common 1.5.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | print ([[
Example:
--------
Let's assume we have a GFF3 file 'csa_example_spliced_alignments.gff3'
containing the following four overlapping spliced alignments (represented as
genes with exons as children):
]])
print(io.open(gtdata_doc_dir.."csa_example_spliced_alignments.gff3"):read("*a"))
print([[
To compute the consensus spliced alignments we call:
$ gt csa csa_example_spliced_alignments.gff3
Which returns:
]])
print(io.open(gtdata_doc_dir.."csa_example_consensus_spliced_alignments.gff3"):read("*a"))
print([[
As one can see, they have been combined into a consensus spliced alignment
(represented as genes with mRNAs as children which in turn have exons as
children) with two alternative splice forms. The first and the third spliced
alignment have been combined into the first alternative splice form (mRNA1) and
the the second and the fourth spliced alignment into the second alternative
splice form (mRNA2).
As one can see, the second exon from the first alternative splice form is
shorter than the corresponding exon from the second alternative splice form.]])
|