Skip to content

Commit

Permalink
add prettyPrinter GFF3
Browse files Browse the repository at this point in the history
  • Loading branch information
bvenn committed May 27, 2019
1 parent 2bb6bb2 commit eaaa59f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BioFSharp.IO/FSIPrinters.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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<GFFLine<#seq<'a>>>) =
toString id input
|> Seq.iter (fun x -> printfn "%s" x)

0 comments on commit eaaa59f

Please sign in to comment.