Class: Bio::TwoBit::ReferenceGenome
- Inherits:
-
TwoBit
- Object
- TwoBit
- Bio::TwoBit::ReferenceGenome
- Defined in:
- lib/bio/twobit/reference_genome.rb
Direct Known Subclasses
AilMel1, AllMis1, AnoCar2, AnoGam3, ApiMel2, AplCal1, AptMan1, AquChr2, BalAcu1, BosTau7, BraFlo1, CaeJap1, CaePb2, CaeRem3, CalJac4, CalMil1, CanFam4, CanFam6, Cb3, Ce11, CerSim1, ChlSab2, ChoHof1, ChrPic1, Ci2, CriGriChoV2, DanRer10, DanRer11, DasNov3, DipOrd1, Dm6, Dp3, DroAna2, DroEre1, DroGri1, DroMoj2, DroPer1, DroSec1, DroSim1, DroVir2, DroYak2, EboVir3, EchTel2, EquCab3, EriEur2, FelCat9, Fr2, GadMor1, GalGal6, GeoFor1, GorGor6, HetGla2, Hg19, Hg38, Hs1, LatCha1, LoxAfr3, MacEug2, MacFas5, ManPen1, MelGal1, MelUnd1, MicMur2, Mm10, Mm39, Mm9, MonDom5, MyoLuc2, NanPar1, NasLar1, NeoSch1, NomLeu3, OchPri3, OreNil2, OrnAna2, OryCun2, OryLat2, OtoGar3, OviAri4, PanPan3, PanTro6, PapAnu4, PapHam1, PetMar3, PonAbe2, PonAbe3, PriPac1, ProCap1, PteVam1, RheMac10, Rn6, SacCer3, SaiBol1, SarHar1, SorAra2, SpeTri2, StrPur2, SusScr11, TaeGut2, TarSyr2, TetNig2, ThaSir1, TriMan1, TupBel1, TurTru2, UusFur1, VicPac2, WuhCor1, XenTro10
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ ReferenceGenome
constructor
A new instance of ReferenceGenome.
Constructor Details
#initialize(**kwargs) ⇒ ReferenceGenome
Returns a new instance of ReferenceGenome.
10 11 12 13 |
# File 'lib/bio/twobit/reference_genome.rb', line 10 def initialize(**kwargs) @local_name ||= File.basename(@data_url) super(prepare_data, **kwargs) end |
Class Method Details
.open(*args, **kwargs, &block) ⇒ Object
4 5 6 7 8 |
# File 'lib/bio/twobit/reference_genome.rb', line 4 def self.open(*args, **kwargs, &block) raise ArgumentError, "#{self}#open() does not accept arguments" if args.any? super(**kwargs, &block) end |