Rust-Wellcome / FasMan

A re-write (+ extras) of Python scripts, used in Tree of Life, into a single Rust script.
3 stars 2 forks source link

Header cleaning #50

Open DLBPointon opened 2 months ago

DLBPointon commented 2 months ago

It has now been requested that the header cleaning, part of generics be updated.

Previously only the gene_name was needed, however, we are now going to try and follow the ensembl standard where possible.

Current output is: ">GENE_NAME" Required optimal output is: ">transcript_id=ENSMUST00000193812.2;gene_id=ENSMUSG00000102693.2;gene_name=4933401J01Rik;transcript_name=4933401J01Rik-201

This will likely only be the case with THE reference assemblies such as mouse, rat, human etc.

If specific data isn't found, then do not include the header for it at all.

Order of the header fields is also important for JBrowse2.