From eaaa59fbd382721e75fbb9c6558b0ba2ff6afb00 Mon Sep 17 00:00:00 2001 From: bvenn Date: Mon, 27 May 2019 16:45:21 +0200 Subject: [PATCH] add prettyPrinter GFF3 --- src/BioFSharp.IO/FSIPrinters.fs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/BioFSharp.IO/FSIPrinters.fs b/src/BioFSharp.IO/FSIPrinters.fs index 35fb0a89..41112253 100644 --- a/src/BioFSharp.IO/FSIPrinters.fs +++ b/src/BioFSharp.IO/FSIPrinters.fs @@ -8,6 +8,7 @@ module FSIPrinters = open BioFSharp.BioID open BioFSharp.IO open BioFSharp.IO.Clustal + open BioFSharp.IO.GFF3 open FSharpAux open System.Text @@ -101,3 +102,7 @@ module FSIPrinters = loop 0 false sprintf "\r\n%s\r\n" (prnt.ToString()) + ///print GFF3 formatted file as seen in the specifications. + let prettyPrintGFF3 (input : seq>>) = + toString id input + |> Seq.iter (fun x -> printfn "%s" x)