Class: Bio::Bam::PGLine
- Inherits:
-
Object
- Object
- Bio::Bam::PGLine
- Defined in:
- lib/bio-sambamba/samheader.rb
Overview
Represents @PG line from SAM header (program record)
Instance Attribute Summary collapse
-
#command_line ⇒ Object
readonly
Command line.
-
#identifier ⇒ Object
readonly
Unique program record identifier.
-
#previous_program ⇒ Object
readonly
Identifier of previous program in chain.
-
#program_name ⇒ Object
readonly
Program name.
-
#program_version ⇒ Object
readonly
Program version.
Instance Method Summary collapse
-
#initialize(json) ⇒ PGLine
constructor
Wrap JSON object from sambamba output.
Constructor Details
#initialize(json) ⇒ PGLine
Wrap JSON object from sambamba output
164 165 166 |
# File 'lib/bio-sambamba/samheader.rb', line 164 def initialize(json) @json = json end |
Instance Attribute Details
#command_line ⇒ Object (readonly)
Command line
175 176 177 |
# File 'lib/bio-sambamba/samheader.rb', line 175 def command_line @command_line end |
#identifier ⇒ Object (readonly)
Unique program record identifier
169 170 171 |
# File 'lib/bio-sambamba/samheader.rb', line 169 def identifier @identifier end |
#previous_program ⇒ Object (readonly)
Identifier of previous program in chain
178 179 180 |
# File 'lib/bio-sambamba/samheader.rb', line 178 def previous_program @previous_program end |
#program_name ⇒ Object (readonly)
Program name
172 173 174 |
# File 'lib/bio-sambamba/samheader.rb', line 172 def program_name @program_name end |
#program_version ⇒ Object (readonly)
Program version
181 182 183 |
# File 'lib/bio-sambamba/samheader.rb', line 181 def program_version @program_version end |