lib/fasta_read/sequence.rb in fasta_read-1.1.0 vs lib/fasta_read/sequence.rb in fasta_read-2.0.1

- old
+ new

@@ -3,14 +3,12 @@ module FastaRead class Sequence include Methadone::Main include Methadone::CLILogging - attr_reader :separate_lines - def initialize(fasta, chromosome, cstart, cend) @fasta = fasta.gsub("\n", "") - @chromosome = ">chr#{chromosome}" + @chromosome = ">#{chromosome}" @cstart = cstart.to_i @cend = cend.to_i end def process