lawremi / rtracklayer

R interface to genome annotation files and the UCSC genome browser
Other
26 stars 16 forks source link

export file with a semi-colon at the end of each line #111

Open hidtak opened 4 months ago

hidtak commented 4 months ago

The perfect gft/gff file is tricky to make at once by using rtracklayer.

Attributes must end in a semi-colon, and be separated from any following attribute by exactly one space. 381 Twinscan CDS 380 401 . + 0 gene_id "001"; transcript_id "001.1"; 381 Twinscan CDS 501 650 . + 2 gene_id "001"; transcript_id "001.1"; 381 Twinscan CDS 700 707 . + 2 gene_id "001"; transcript_id "001.1"; 381 Twinscan start_codon 380 382 . + 0 gene_id "001"; transcript_id "001.1"; 381 Twinscan stop_codon 708 710 . + 0 gene_id "001"; transcript_id "001.1";