{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedLists #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
{-# Language QuasiQuotes #-}
module Data.SAM.Version1_6.Base (
SAM_V1_6(..)
) where
import Data.SAM.Version1_6.Alignment
import Data.SAM.Version1_6.Header
import Data.Data
import Data.Sequence
import Generics.Deriving.Base
data SAM_V1_6 = SAM_V1_6 { SAM_V1_6 -> Maybe SAM_V1_6_File_Level_Metadata
sam_v1_6_file_level_metadata :: Maybe SAM_V1_6_File_Level_Metadata
, SAM_V1_6 -> Maybe SAM_V1_6_Reference_Sequence_Dictionary
sam_v1_6_reference_sequence_dictionary :: Maybe SAM_V1_6_Reference_Sequence_Dictionary
, SAM_V1_6 -> Maybe (Seq SAM_V1_6_Read_Group)
sam_v1_6_read_group :: Maybe (Seq SAM_V1_6_Read_Group)
, SAM_V1_6 -> Maybe SAM_V1_6_Program
sam_v1_6_program :: Maybe SAM_V1_6_Program
, :: Maybe (Seq SAM_V1_6_One_Line_Comment)
, SAM_V1_6 -> Seq SAM_V1_6_Alignment
sam_v1_6_alignment :: Seq SAM_V1_6_Alignment
}
deriving ((forall x. SAM_V1_6 -> Rep SAM_V1_6 x)
-> (forall x. Rep SAM_V1_6 x -> SAM_V1_6) -> Generic SAM_V1_6
forall x. Rep SAM_V1_6 x -> SAM_V1_6
forall x. SAM_V1_6 -> Rep SAM_V1_6 x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. SAM_V1_6 -> Rep SAM_V1_6 x
from :: forall x. SAM_V1_6 -> Rep SAM_V1_6 x
$cto :: forall x. Rep SAM_V1_6 x -> SAM_V1_6
to :: forall x. Rep SAM_V1_6 x -> SAM_V1_6
Generic,Typeable)
instance Show SAM_V1_6 where
show :: SAM_V1_6 -> String
show (SAM_V1_6 Maybe SAM_V1_6_File_Level_Metadata
file_level_metadata
Maybe SAM_V1_6_Reference_Sequence_Dictionary
reference_sequence_dictionary
Maybe (Seq SAM_V1_6_Read_Group)
read_group Maybe SAM_V1_6_Program
program
Maybe (Seq SAM_V1_6_One_Line_Comment)
one_line_comment
Seq SAM_V1_6_Alignment
alignment
) =
String
"SAM_V1_6 { " String -> ShowS
forall a. [a] -> [a] -> [a]
++
String
"file_level_metadata = " String -> ShowS
forall a. [a] -> [a] -> [a]
++
(Maybe SAM_V1_6_File_Level_Metadata -> String
forall a. Show a => a -> String
show Maybe SAM_V1_6_File_Level_Metadata
file_level_metadata) String -> ShowS
forall a. [a] -> [a] -> [a]
++
String
" , reference_sequence_dictionary = " String -> ShowS
forall a. [a] -> [a] -> [a]
++
(Maybe SAM_V1_6_Reference_Sequence_Dictionary -> String
forall a. Show a => a -> String
show Maybe SAM_V1_6_Reference_Sequence_Dictionary
reference_sequence_dictionary) String -> ShowS
forall a. [a] -> [a] -> [a]
++
String
" , read_group = " String -> ShowS
forall a. [a] -> [a] -> [a]
++
(Maybe (Seq SAM_V1_6_Read_Group) -> String
forall a. Show a => a -> String
show Maybe (Seq SAM_V1_6_Read_Group)
read_group) String -> ShowS
forall a. [a] -> [a] -> [a]
++
String
" , program = " String -> ShowS
forall a. [a] -> [a] -> [a]
++
(Maybe SAM_V1_6_Program -> String
forall a. Show a => a -> String
show Maybe SAM_V1_6_Program
program) String -> ShowS
forall a. [a] -> [a] -> [a]
++
String
" , one_line_comment = " String -> ShowS
forall a. [a] -> [a] -> [a]
++
(Maybe (Seq SAM_V1_6_One_Line_Comment) -> String
forall a. Show a => a -> String
show Maybe (Seq SAM_V1_6_One_Line_Comment)
one_line_comment) String -> ShowS
forall a. [a] -> [a] -> [a]
++
String
" , alignment = " String -> ShowS
forall a. [a] -> [a] -> [a]
++
(Seq SAM_V1_6_Alignment -> String
forall a. Show a => a -> String
show Seq SAM_V1_6_Alignment
alignment) String -> ShowS
forall a. [a] -> [a] -> [a]
++
String
" }"