-1

I want to convert a .csv file to a GFF3 file. The csv file contains annotation data. I know that I should parse the .csv file and then write the .gff file, but I dont know the complete code

eli bio67
  • 1
  • 1
  • There's very little information in your question. Can you provide more details about what the CSV file contains? What have you tried so far? – vkkodali May 19 '19 at 12:00

1 Answers1

0

In Libreoffice, merge all columns that need to be in column 9 of GFF3. They will end up being space separated. Then, export your file as tab-separated values. Resulting file will have 9 tab-delimited columns. Using sed replace spaces with semi colons. Also, if I remember correctly, ID should be the first attribute in GFF3 column 9, not Name.

vkkodali
  • 630
  • 7
  • 18