lomereiter/bioruby-sambamba

View on GitHub
lib/bio-sambamba/basepair.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Integer
    def bp
        self
    end

    def Kbp
        self * 1_000
    end

    def Mbp
        self * 1_000_000
    end

    def Gbp
        self * 1_000_000_000
    end
end