bio-samtools 0.6.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -2
  3. data/README.md +4 -7
  4. data/VERSION +1 -1
  5. data/bio-samtools.gemspec +47 -105
  6. data/doc/Bio.html +68 -131
  7. data/doc/Bio/DB.html +51 -111
  8. data/doc/Bio/DB/Alignment.html +135 -363
  9. data/doc/Bio/DB/Pileup.html +183 -170
  10. data/doc/Bio/DB/SAM.html +1396 -820
  11. data/doc/Bio/DB/SAM/Library.html +73 -123
  12. data/doc/Bio/DB/SAM/Tools.html +51 -273
  13. data/doc/Bio/DB/Tag.html +78 -124
  14. data/doc/Bio/DB/Vcf.html +111 -147
  15. data/doc/LICENSE_txt.html +113 -148
  16. data/doc/created.rid +9 -10
  17. data/doc/fonts.css +167 -0
  18. data/doc/fonts/Lato-Light.ttf +0 -0
  19. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  20. data/doc/fonts/Lato-Regular.ttf +0 -0
  21. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  22. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  23. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  24. data/doc/images/add.png +0 -0
  25. data/doc/images/arrow_up.png +0 -0
  26. data/doc/images/delete.png +0 -0
  27. data/doc/images/tag_blue.png +0 -0
  28. data/doc/index.html +48 -54
  29. data/doc/js/darkfish.js +9 -22
  30. data/doc/js/search.js +20 -5
  31. data/doc/js/search_index.js +1 -1
  32. data/doc/rdoc.css +255 -218
  33. data/doc/table_of_contents.html +256 -137
  34. data/ext/Rakefile +57 -0
  35. data/lib/bio-samtools.rb +7 -2
  36. data/lib/bio/BIOExtensions.rb +89 -0
  37. data/lib/bio/db/alignment.rb +59 -0
  38. data/lib/bio/db/fastadb.rb +255 -0
  39. data/lib/bio/db/pileup.rb +221 -172
  40. data/lib/bio/db/sam.rb +639 -589
  41. data/lib/bio/db/sam/{faidx.rb → faidx_old.rb} +0 -0
  42. data/lib/bio/db/vcf.rb +69 -68
  43. data/test/.gitignore +1 -0
  44. data/test/{test_basic.rb → old_test_basic.rb} +33 -1
  45. data/test/samples/small/dupes.bam +0 -0
  46. data/test/samples/small/dupes.sam +274 -0
  47. data/test/samples/small/map_for_reheader.sam +8 -0
  48. data/test/samples/small/map_to_merge1.bam +0 -0
  49. data/test/samples/small/map_to_merge1.bam.bai +0 -0
  50. data/test/samples/small/map_to_merge1.sam +8 -0
  51. data/test/samples/small/map_to_merge2.bam +0 -0
  52. data/test/samples/small/map_to_merge2.bam.bai +0 -0
  53. data/test/samples/small/map_to_merge2.sam +8 -0
  54. data/test/samples/small/no_md.sam +8 -0
  55. data/test/samples/small/test_chr.fasta.1.bt2 +0 -0
  56. data/test/samples/small/test_chr.fasta.2.bt2 +0 -0
  57. data/test/samples/small/test_chr.fasta.3.bt2 +0 -0
  58. data/test/samples/small/test_chr.fasta.4.bt2 +0 -0
  59. data/test/samples/small/test_chr.fasta.rev.1.bt2 +0 -0
  60. data/test/samples/small/test_chr.fasta.rev.2.bt2 +0 -0
  61. data/test/samples/small/test_cov.svg +273 -0
  62. data/test/samples/small/testu.bam.bai +0 -0
  63. data/test/svg +133 -0
  64. data/test/test_pileup.rb +84 -0
  65. data/test/test_sam.rb +331 -0
  66. data/test/test_vcf.rb +11 -0
  67. data/{doc → tutorial}/tutorial.html +0 -0
  68. data/{doc → tutorial}/tutorial.pdf +0 -0
  69. metadata +56 -114
  70. data/doc/Bio/DB/SAM/Tools/Bam1CoreT.html +0 -159
  71. data/doc/Bio/DB/SAM/Tools/Bam1T.html +0 -220
  72. data/doc/Bio/DB/SAM/Tools/BamHeaderT.html +0 -249
  73. data/doc/Bio/DB/SAM/Tools/BamPileup1T.html +0 -159
  74. data/doc/Bio/DB/SAM/Tools/SamfileT.html +0 -171
  75. data/doc/Bio/DB/SAM/Tools/SamfileTX.html +0 -159
  76. data/doc/Bio/DB/SAMException.html +0 -205
  77. data/doc/LibC.html +0 -155
  78. data/doc/Pileup.html +0 -571
  79. data/doc/Vcf.html +0 -473
  80. data/doc/basic_styles.css +0 -31
  81. data/doc/classes/Bio.html +0 -139
  82. data/doc/classes/Bio/DB.html +0 -137
  83. data/doc/classes/Bio/DB/Alignment.html +0 -441
  84. data/doc/classes/Bio/DB/Alignment.src/M000012.html +0 -19
  85. data/doc/classes/Bio/DB/Alignment.src/M000013.html +0 -27
  86. data/doc/classes/Bio/DB/Alignment.src/M000014.html +0 -45
  87. data/doc/classes/Bio/DB/Alignment.src/M000015.html +0 -40
  88. data/doc/classes/Bio/DB/SAM.html +0 -510
  89. data/doc/classes/Bio/DB/SAM/Library.html +0 -135
  90. data/doc/classes/Bio/DB/SAM/Library.src/M000006.html +0 -28
  91. data/doc/classes/Bio/DB/SAM/Tools.html +0 -278
  92. data/doc/classes/Bio/DB/SAM/Tools.src/M000007.html +0 -20
  93. data/doc/classes/Bio/DB/SAM/Tools/Bam1CoreT.html +0 -111
  94. data/doc/classes/Bio/DB/SAM/Tools/Bam1T.html +0 -150
  95. data/doc/classes/Bio/DB/SAM/Tools/Bam1T.src/M000010.html +0 -20
  96. data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.html +0 -169
  97. data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.src/M000008.html +0 -19
  98. data/doc/classes/Bio/DB/SAM/Tools/BamHeaderT.src/M000009.html +0 -18
  99. data/doc/classes/Bio/DB/SAM/Tools/BamPileup1T.html +0 -111
  100. data/doc/classes/Bio/DB/SAM/Tools/SamfileT.html +0 -129
  101. data/doc/classes/Bio/DB/SAM/Tools/SamfileTX.html +0 -111
  102. data/doc/classes/Bio/DB/SAMException.html +0 -140
  103. data/doc/classes/Bio/DB/SAMException.src/M000016.html +0 -18
  104. data/doc/classes/Bio/DB/Sam.src/M000017.html +0 -43
  105. data/doc/classes/Bio/DB/Sam.src/M000018.html +0 -42
  106. data/doc/classes/Bio/DB/Sam.src/M000019.html +0 -18
  107. data/doc/classes/Bio/DB/Sam.src/M000020.html +0 -22
  108. data/doc/classes/Bio/DB/Sam.src/M000021.html +0 -19
  109. data/doc/classes/Bio/DB/Sam.src/M000022.html +0 -25
  110. data/doc/classes/Bio/DB/Sam.src/M000023.html +0 -28
  111. data/doc/classes/Bio/DB/Sam.src/M000024.html +0 -28
  112. data/doc/classes/Bio/DB/Sam.src/M000025.html +0 -46
  113. data/doc/classes/Bio/DB/Sam.src/M000026.html +0 -24
  114. data/doc/classes/Bio/DB/Sam.src/M000027.html +0 -19
  115. data/doc/classes/Bio/DB/Sam.src/M000028.html +0 -24
  116. data/doc/classes/Bio/DB/Sam.src/M000029.html +0 -41
  117. data/doc/classes/Bio/DB/Sam.src/M000030.html +0 -31
  118. data/doc/classes/Bio/DB/Sam.src/M000031.html +0 -86
  119. data/doc/classes/Bio/DB/Sam.src/M000032.html +0 -34
  120. data/doc/classes/Bio/DB/Tag.html +0 -160
  121. data/doc/classes/Bio/DB/Tag.src/M000011.html +0 -21
  122. data/doc/classes/LibC.html +0 -105
  123. data/doc/classes/Pileup.html +0 -374
  124. data/doc/classes/Pileup.src/M000001.html +0 -34
  125. data/doc/classes/Pileup.src/M000002.html +0 -21
  126. data/doc/classes/Pileup.src/M000003.html +0 -21
  127. data/doc/classes/Pileup.src/M000004.html +0 -21
  128. data/doc/classes/Pileup.src/M000005.html +0 -31
  129. data/doc/files/lib/bio-samtools_rb.html +0 -109
  130. data/doc/files/lib/bio/db/sam/bam_rb.html +0 -108
  131. data/doc/files/lib/bio/db/sam/faidx_rb.html +0 -108
  132. data/doc/files/lib/bio/db/sam/library_rb.html +0 -101
  133. data/doc/files/lib/bio/db/sam/pileup_rb.html +0 -178
  134. data/doc/files/lib/bio/db/sam/sam_rb.html +0 -113
  135. data/doc/files/lib/bio/db/sam_rb.html +0 -111
  136. data/doc/fr_class_index.html +0 -43
  137. data/doc/fr_file_index.html +0 -33
  138. data/doc/fr_method_index.html +0 -58
  139. data/doc/lib/bio-samtools_rb.html +0 -115
  140. data/doc/lib/bio/db/pileup_rb.html +0 -171
  141. data/doc/lib/bio/db/sam/bam_rb.html +0 -121
  142. data/doc/lib/bio/db/sam/faidx_rb.html +0 -117
  143. data/doc/lib/bio/db/sam/library_rb.html +0 -115
  144. data/doc/lib/bio/db/sam/pileup_rb.html +0 -171
  145. data/doc/lib/bio/db/sam/sam_rb.html +0 -121
  146. data/doc/lib/bio/db/sam/vcf_rb.html +0 -124
  147. data/doc/lib/bio/db/sam_rb.html +0 -115
  148. data/doc/lib/bio/db/vcf_rb.html +0 -124
  149. data/doc/rdoc-style.css +0 -208
  150. data/lib/bio/db/sam/bam.rb +0 -210
  151. data/lib/bio/db/sam/sam.rb +0 -86
  152. data/test/samples/pipe_char/test.bam +0 -0
  153. data/test/samples/pipe_char/test.bam.bai +0 -0
  154. data/test/samples/pipe_char/test.tam +0 -10
  155. data/test/samples/pipe_char/test_chr.fasta +0 -1000
  156. data/test/samples/pipe_char/test_chr.fasta.fai +0 -1
  157. data/test/samples/small/test +0 -0
  158. data/test/samples/small/test.bam +0 -0
  159. data/test/samples/small/test.fa +0 -20
  160. data/test/samples/small/test.fai +0 -0
@@ -1 +1 @@
1
- var search_data = {"index":{"searchIndex":["bio","db","alignment","pileup","sam","library","tools","bam1coret","bam1t","bamheadert","bampileup1t","samfilet","samfiletx","samexception","sam","tag","vcf","libc","average_coverage()","bam_sort()","chromosome_coverage()","close()","deprecated_pileup()","each_reference()","fetch()","fetch_reference()","fetch_with_function()","filename()","finalize()","finalize()","genotype_list()","index_stats()","int_or_raw()","iupac_to_base()","load_index()","load_reference()","merge()","mpileup()","mpileup_plus()","new()","new()","new()","new()","new()","non_ref_count()","non_refs()","open()","parse_line()","qname()","query_string()","ref_count()","sam=()","set()","set()","text()","text=()","to_s()","to_s()","to_vcf()","license"],"longSearchIndex":["bio","bio::db","bio::db::alignment","bio::db::pileup","bio::db::sam","bio::db::sam::library","bio::db::sam::tools","bio::db::sam::tools::bam1coret","bio::db::sam::tools::bam1t","bio::db::sam::tools::bamheadert","bio::db::sam::tools::bampileup1t","bio::db::sam::tools::samfilet","bio::db::sam::tools::samfiletx","bio::db::samexception","bio::db::sam","bio::db::tag","bio::db::vcf","libc","bio::db::sam#average_coverage()","bio::db::sam::tools::bam_sort()","bio::db::sam#chromosome_coverage()","bio::db::sam#close()","bio::db::sam#deprecated_pileup()","bio::db::sam#each_reference()","bio::db::sam#fetch()","bio::db::sam#fetch_reference()","bio::db::sam#fetch_with_function()","bio::db::sam::library::filename()","bio::db::alignment::finalize()","bio::db::sam::finalize()","bio::db::pileup#genotype_list()","bio::db::sam#index_stats()","bio::db::vcf#int_or_raw()","bio::db::pileup::iupac_to_base()","bio::db::sam#load_index()","bio::db::sam#load_reference()","bio::db::sam::merge()","bio::db::sam#mpileup()","bio::db::sam#mpileup_plus()","bio::db::alignment::new()","bio::db::pileup::new()","bio::db::samexception::new()","bio::db::sam::new()","bio::db::vcf::new()","bio::db::pileup#non_ref_count()","bio::db::pileup#non_refs()","bio::db::sam#open()","bio::db::vcf#parse_line()","bio::db::sam::tools::bam1t#qname()","bio::db::sam#query_string()","bio::db::pileup#ref_count()","bio::db::alignment#sam=()","bio::db::alignment#set()","bio::db::tag#set()","bio::db::sam::tools::bamheadert#text()","bio::db::sam::tools::bamheadert#text=()","bio::db::pileup#to_s()","bio::db::sam#to_s()","bio::db::pileup#to_vcf()",""],"info":[["Bio","","Bio.html","","<p>Bio::DB::Pileup \n<p>A class representing information in SAMTools pileup format\n<p>Author &mdash; Dan MacLean (dan.maclean@tsl …\n"],["Bio::DB","","Bio/DB.html","",""],["Bio::DB::Alignment","","Bio/DB/Alignment.html","",""],["Bio::DB::Pileup","","Bio/DB/Pileup.html","",""],["Bio::DB::SAM","","Bio/DB/SAM.html","",""],["Bio::DB::SAM::Library","","Bio/DB/SAM/Library.html","",""],["Bio::DB::SAM::Tools","","Bio/DB/SAM/Tools.html","",""],["Bio::DB::SAM::Tools::Bam1CoreT","","Bio/DB/SAM/Tools/Bam1CoreT.html","",""],["Bio::DB::SAM::Tools::Bam1T","","Bio/DB/SAM/Tools/Bam1T.html","",""],["Bio::DB::SAM::Tools::BamHeaderT","","Bio/DB/SAM/Tools/BamHeaderT.html","","<p>typedef struct {\n\n<pre>int32_t n_targets;\nchar **target_name;\nuint32_t *target_len;\nvoid *dict, *hash, *rg2lib; ...</pre>\n"],["Bio::DB::SAM::Tools::BamPileup1T","","Bio/DB/SAM/Tools/BamPileup1T.html","",""],["Bio::DB::SAM::Tools::SamfileT","","Bio/DB/SAM/Tools/SamfileT.html","","<p>typedef struct {\n\n<pre>int type;\nunion {\n tamFile tamr;\n bamFile bam;\n FILE *tamw;\n} x; ...</pre>\n"],["Bio::DB::SAM::Tools::SamfileTX","","Bio/DB/SAM/Tools/SamfileTX.html","",""],["Bio::DB::SAMException","","Bio/DB/SAMException.html","",""],["Bio::DB::Sam","","Bio/DB/Sam.html","",""],["Bio::DB::Tag","","Bio/DB/Tag.html","",""],["Bio::DB::Vcf","","Bio/DB/Vcf.html","",""],["LibC","","LibC.html","","<p>require ‘bio/db/pileup’ require ‘bio/db/vcf’\n"],["average_coverage","Bio::DB::Sam","Bio/DB/Sam.html#method-i-average_coverage","(chromosome, qstart, len)","<p>Returns the average coverage of a region in a bam file.\n"],["bam_sort","Bio::DB::SAM::Tools","Bio/DB/SAM/Tools.html#method-c-bam_sort","(bam_filename, bam_output_prefix)",""],["chromosome_coverage","Bio::DB::Sam","Bio/DB/Sam.html#method-i-chromosome_coverage","(chromosome, qstart, len)","<p>Returns an array with the coverage at each possition in the queried region\nThis is a simple average coverage …\n"],["close","Bio::DB::Sam","Bio/DB/Sam.html#method-i-close","()","<p>Closes the sam file and destroys the C pointers using the functions\nprovided by libbam\n"],["deprecated_pileup","Bio::DB::Sam","Bio/DB/Sam.html#method-i-deprecated_pileup","( cmd )","<p>utility method that does not use the samtools API, it calls samtools\ndirectly as if on the command line …\n"],["each_reference","Bio::DB::Sam","Bio/DB/Sam.html#method-i-each_reference","()","<p>yields each reference name and its length\n"],["fetch","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fetch","(chromosome, qstart, qend)","<p>Returns an array of Alignments on a given region.\n"],["fetch_reference","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fetch_reference","(chromosome, qstart,qend)","<p>Returns the sequence for a given region.\n"],["fetch_with_function","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fetch_with_function","(chromosome, qstart, qend, function)","<p>Executes a function on each Alignment inside the queried region of the\nchromosome. The chromosome can …\n"],["filename","Bio::DB::SAM::Library","Bio/DB/SAM/Library.html#method-c-filename","()","<p>Return the path with the file name of the library for the specific\noperating system\n"],["finalize","Bio::DB::Alignment","Bio/DB/Alignment.html#method-c-finalize","(object_id)",""],["finalize","Bio::DB::Sam","Bio/DB/Sam.html#method-c-finalize","(id)","<p>Destructor method that closes the file before letting the object be garbage\ncollected.\n"],["genotype_list","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-genotype_list","()",""],["index_stats","Bio::DB::Sam","Bio/DB/Sam.html#method-i-index_stats","()",""],["int_or_raw","Bio::DB::Vcf","Bio/DB/Vcf.html#method-i-int_or_raw","(x)",""],["iupac_to_base","Bio::DB::Pileup","Bio/DB/Pileup.html#method-c-iupac_to_base","(alt_base)","<p>returns\n"],["load_index","Bio::DB::Sam","Bio/DB/Sam.html#method-i-load_index","()","<p>Loads the bam index to be used for fetching. If the index doesn’t exists\nthe index is built provided …\n"],["load_reference","Bio::DB::Sam","Bio/DB/Sam.html#method-i-load_reference","()","<p>Loads the reference file to be able to query regions of it. This requires\nthe fai index to exist in the …\n"],["merge","Bio::DB::Sam","Bio/DB/Sam.html#method-c-merge","(files, merged_file, headers, add_RG, by_qname)","<p>Merges n BAM files. This doesn’t require to create a SAM object\n<p>files &mdash; An array with the paths to the files. …\n"],["mpileup","Bio::DB::Sam","Bio/DB/Sam.html#method-i-mpileup","( opts={})","<p>calls the mpileup function, opts is a hash of options identical to the\ncommand line options for mpileup. …\n"],["mpileup_plus","Bio::DB::Sam","Bio/DB/Sam.html#method-i-mpileup_plus","( opts )","<p>experimental method that spawns a samtools mpileup | bcftools view process\nand supports returning of …\n"],["new","Bio::DB::Alignment","Bio/DB/Alignment.html#method-c-new","()",""],["new","Bio::DB::Pileup","Bio/DB/Pileup.html#method-c-new","(pile_up_line)","<p>creates the Pileup object\n\n<pre>pile_up_line = &quot;seq2\\t151\\tG\\tG\\t36\\t0\\t99\\t12\\t...........A\\t:9&lt;;;7=&lt;&lt;&lt;&lt;&lt;&quot; ...</pre>\n"],["new","Bio::DB::SAMException","Bio/DB/SAMException.html#method-c-new","()","<p>we can add further variables to give information of the excpetion\n"],["new","Bio::DB::Sam","Bio/DB/Sam.html#method-c-new","(optsa={})","<p>To make a new sam object. Initialize expects a hash optsa with the\nfollowing elemets:\n<p>fasta &mdash; The fasta …\n"],["new","Bio::DB::Vcf","Bio/DB/Vcf.html#method-c-new","(line=nil, sample_names=nil)","<p>create the vcf object, use the ordered list of sample names to label\nsamples if provided [‘A’, ‘B’, ‘C’], …\n"],["non_ref_count","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-non_ref_count","()","<p>returns the total non-reference bases in the reads at this position\n"],["non_refs","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-non_refs","()","<p>Calculate the total count of each non-reference nucleotide and return a\nhash of all 4 nt counts, returns …\n"],["open","Bio::DB::Sam","Bio/DB/Sam.html#method-i-open","()","<p>Function that actually opens the sam file Throws a SAMException if the file\ncan’t be open.\n"],["parse_line","Bio::DB::Vcf","Bio/DB/Vcf.html#method-i-parse_line","(line, sample_names=nil)","<p>gets the info in the Vcf lines and parses it, setting the attributes\n"],["qname","Bio::DB::SAM::Tools::Bam1T","Bio/DB/SAM/Tools/Bam1T.html#method-i-qname","()",""],["query_string","Bio::DB::Sam","Bio/DB/Sam.html#method-i-query_string","(chromosome, qstart,qend)","<p>Generates a query sting to be used by the region parser in samtools. In\nprinciple, you shouldn’t need …\n"],["ref_count","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-ref_count","()","<p>returns the count of reference-bases in the reads at this position\n"],["sam=","Bio::DB::Alignment","Bio/DB/Alignment.html#method-i-sam-3D","(sam)",""],["set","Bio::DB::Alignment","Bio/DB/Alignment.html#method-i-set","(bam_alignment, header)",""],["set","Bio::DB::Tag","Bio/DB/Tag.html#method-i-set","(str)",""],["text","Bio::DB::SAM::Tools::BamHeaderT","Bio/DB/SAM/Tools/BamHeaderT.html#method-i-text","()",""],["text=","Bio::DB::SAM::Tools::BamHeaderT","Bio/DB/SAM/Tools/BamHeaderT.html#method-i-text-3D","(str)",""],["to_s","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-to_s","()","<p>returns pileup format line as\n"],["to_s","Bio::DB::Sam","Bio/DB/Sam.html#method-i-to_s","()","<p>Prints a description of the sam file in a text format containg if it is\nbinary or text, the path and …\n"],["to_vcf","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-to_vcf","()","<p>returns basic VCF string as per samtools/misc sam2vcf.pl except that it\nscrimps on the ref for indels, …\n"],["LICENSE","","LICENSE_txt.html","","<p>Copyright © 2011 Raoul J.P. Bonnal\n<p>Permission is hereby granted, free of charge, to any person obtaining …\n"]]}}
1
+ var search_data = {"index":{"searchIndex":["bio","db","alignment","pileup","sam","library","tools","sam","tag","vcf","average_coverage()","calmd()","cat()","chromosome_coverage()","depth()","docs()","faidx()","fetch()","fetch_reference()","fetch_with_function()","filename()","fix_mates()","fixmate()","flag_stats()","flagstat()","genotype_list()","idxstats()","index()","index_stats()","int_or_raw()","iupac_to_base()","merge()","mpileup()","new()","new()","new()","new()","non_ref_count()","non_refs()","open()","parse_indel()","parse_line()","phase()","plot_chromosome_coverage()","ref_count()","reheader()","remove_duplicates()","rmdup()","set()","sort()","targetcut()","to_s()","to_vcf()","tview()","view()","license"],"longSearchIndex":["bio","bio::db","bio::db::alignment","bio::db::pileup","bio::db::sam","bio::db::sam::library","bio::db::sam::tools","bio::db::sam","bio::db::tag","bio::db::vcf","bio::db::sam#average_coverage()","bio::db::sam#calmd()","bio::db::sam#cat()","bio::db::sam#chromosome_coverage()","bio::db::sam#depth()","bio::db::sam::docs()","bio::db::sam#faidx()","bio::db::sam#fetch()","bio::db::sam#fetch_reference()","bio::db::sam#fetch_with_function()","bio::db::sam::library::filename()","bio::db::sam#fix_mates()","bio::db::sam#fixmate()","bio::db::sam#flag_stats()","bio::db::sam#flagstat()","bio::db::pileup#genotype_list()","bio::db::sam#idxstats()","bio::db::sam#index()","bio::db::sam#index_stats()","bio::db::vcf#int_or_raw()","bio::db::pileup::iupac_to_base()","bio::db::sam#merge()","bio::db::sam#mpileup()","bio::db::alignment::new()","bio::db::pileup::new()","bio::db::sam::new()","bio::db::vcf::new()","bio::db::pileup#non_ref_count()","bio::db::pileup#non_refs()","bio::db::sam#open()","bio::db::pileup#parse_indel()","bio::db::vcf#parse_line()","bio::db::sam#phase()","bio::db::sam#plot_chromosome_coverage()","bio::db::pileup#ref_count()","bio::db::sam#reheader()","bio::db::sam#remove_duplicates()","bio::db::sam#rmdup()","bio::db::tag#set()","bio::db::sam#sort()","bio::db::sam#targetcut()","bio::db::pileup#to_s()","bio::db::pileup#to_vcf()","bio::db::sam#tview()","bio::db::sam#view()",""],"info":[["Bio","","Bio.html","","<p>Bio::DB::Pileup \n<p>A class representing information in SAMTools pileup format\n<p>Author &mdash; Dan MacLean (dan.maclean@tsl.ac.uk) …\n"],["Bio::DB","","Bio/DB.html","",""],["Bio::DB::Alignment","","Bio/DB/Alignment.html","","<p>Attrobites frp, the flag field (see chapter 2.2.2 of the sam file\ndocumentation) query_strand and mate_strand …\n"],["Bio::DB::Pileup","","Bio/DB/Pileup.html","",""],["Bio::DB::SAM","","Bio/DB/SAM.html","",""],["Bio::DB::SAM::Library","","Bio/DB/SAM/Library.html","",""],["Bio::DB::SAM::Tools","","Bio/DB/SAM/Tools.html","",""],["Bio::DB::Sam","","Bio/DB/Sam.html","",""],["Bio::DB::Tag","","Bio/DB/Tag.html","","<p>a class to represent the SAM OPT values, presented in SAM as\nTAG:VTYPE:VALUE\n"],["Bio::DB::Vcf","","Bio/DB/Vcf.html","",""],["average_coverage","Bio::DB::Sam","Bio/DB/Sam.html#method-i-average_coverage","(chr,start,length)","<p>returns the average coverage over the region queried\n<p>chr - the reference name\n<p>start - the start position …\n"],["calmd","Bio::DB::Sam","Bio/DB/Sam.html#method-i-calmd","(opts={}, &block)","<p>Generate the MD tag. If the MD tag is already present, this command will\ngive a warning if the MD tag …\n"],["cat","Bio::DB::Sam","Bio/DB/Sam.html#method-i-cat","(opts={})","<p>Concatenate BAMs. The sequence dictionary of each input BAM must be\nidentical.\n<p>h - header.sam\n<p>out -[FILE] …\n"],["chromosome_coverage","Bio::DB::Sam","Bio/DB/Sam.html#method-i-chromosome_coverage","(chr,start,length)","<p>returns an array of coverage for each location for which there are mapped\nreads\n<p>chr - the reference name …\n"],["depth","Bio::DB::Sam","Bio/DB/Sam.html#method-i-depth","(opts={})","<p>returns an array for each position with [sequence_name, position, depth]\n<p>b - list of positions or regions …\n"],["docs","Bio::DB::Sam","Bio/DB/Sam.html#method-c-docs","(program, command)","<p>program - one of &#39;samtools&#39; &#39;bcftools&#39;\n<p>command - one of the commands relevant to the …\n\n"],["faidx","Bio::DB::Sam","Bio/DB/Sam.html#method-i-faidx","(opts={})","<p>Index reference sequence in the FASTA format or extract subsequence from\nindexed reference sequence. …\n"],["fetch","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fetch","(chr, start,stop, &block)","<p>fetches a subsequence and calls code block\n<p>chr - the reference name for the subsequence\n<p>start - the start …\n"],["fetch_reference","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fetch_reference","(chr,start,stop, opts={:as_bio => false})","<p>fetches a subsequence from a reference genome and option returns it as a\nBio::Sequence::NA object\n<p>chr …\n"],["fetch_with_function","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fetch_with_function","(chr, start,stop, &block)",""],["filename","Bio::DB::SAM::Library","Bio/DB/SAM/Library.html#method-c-filename","()","<p>Return the path with the file name of the library for the specific\noperating system\n"],["fix_mates","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fix_mates","(opts={})","<p>Fill in mate coordinates, ISIZE and mate related flags from a name-sorted\nalignment\n<p>out_bam name of outfile …\n"],["fixmate","Bio::DB::Sam","Bio/DB/Sam.html#method-i-fixmate","(opts={})",""],["flag_stats","Bio::DB::Sam","Bio/DB/Sam.html#method-i-flag_stats","(opts={})","<p>generate simple stats with regard to the number and pairing of reads mapped\nto a reference\n"],["flagstat","Bio::DB::Sam","Bio/DB/Sam.html#method-i-flagstat","(opts={})",""],["genotype_list","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-genotype_list","()","<p>identifies the reference base and returns the indel or snp genotype as\napplicable\n"],["idxstats","Bio::DB::Sam","Bio/DB/Sam.html#method-i-idxstats","()",""],["index","Bio::DB::Sam","Bio/DB/Sam.html#method-i-index","(opts={})","<p>Index sorted alignment for fast random access. Index file\n&lt;aln.bam&gt;.bai will be created of no …\n"],["index_stats","Bio::DB::Sam","Bio/DB/Sam.html#method-i-index_stats","()","<p>Retrieve and print stats in the index file. The output is TAB delimited\nwith each line consisting of …\n"],["int_or_raw","Bio::DB::Vcf","Bio/DB/Vcf.html#method-i-int_or_raw","(x)","<p>tests if the current variable is an Integer\n<p>x - any variable\n\n"],["iupac_to_base","Bio::DB::Pileup","Bio/DB/Pileup.html#method-c-iupac_to_base","(alt_base)","<p>returns the two bases for the corresponding iupac code\n"],["merge","Bio::DB::Sam","Bio/DB/Sam.html#method-i-merge","(opts={})","<p>Merge multiple sorted alignments\n<p>n - sort by read names\n<p>r - attach RG tag (inferred from file names)\n"],["mpileup","Bio::DB::Sam","Bio/DB/Sam.html#method-i-mpileup","(opts={}, &block)","<p>returns a Bio::DB::Pileup or Bio::DB::VCF object\n<p>region - Only generate pileup in region [chrom:start-stop] …\n"],["new","Bio::DB::Alignment","Bio/DB/Alignment.html#method-c-new","(sam_string)","<p>parses the SAM string into its constituents and set its attributes\n"],["new","Bio::DB::Pileup","Bio/DB/Pileup.html#method-c-new","(pile_up_line)","<p>creates the Pileup object\n\n<pre>pile_up_line = &quot;seq2\\t151\\tG\\tG\\t36\\t0\\t99\\t12\\t...........A\\t:9&lt;;;7=&lt;&lt;&lt;&lt;&lt;&quot; ...</pre>\n"],["new","Bio::DB::Sam","Bio/DB/Sam.html#method-c-new","(args)","<p>Creates a new Bio::DB::Sam object\n<p>fasta [String] - the path to the Fasta reference sequence\n<p>bam [String] …\n"],["new","Bio::DB::Vcf","Bio/DB/Vcf.html#method-c-new","(line=nil, sample_names=nil)","<p>create the vcf object, use the ordered list of sample names to label\nsamples if provided [&#39;A&#39;, …\n"],["non_ref_count","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-non_ref_count","()","<p>returns the total non-reference bases in the reads at this position\n"],["non_refs","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-non_refs","()","<p>Calculate the total count of each non-reference nucleotide and return a\nhash of all 4 nt counts returns …\n"],["open","Bio::DB::Sam","Bio/DB/Sam.html#method-i-open","()","<p>backward compatibility method, returns true if file exists otherwise,\ncomplains and quits.\n"],["parse_indel","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-parse_indel","(alt)","<p>identifies if the indel is an insertion or a deletion\n"],["parse_line","Bio::DB::Vcf","Bio/DB/Vcf.html#method-i-parse_line","(line, sample_names=nil)","<p>gets the info in the Vcf lines and parses it, setting the attributes\n"],["phase","Bio::DB::Sam","Bio/DB/Sam.html#method-i-phase","(opts={})","<p>Call and phase heterozygous SNPs\n<p>A - Drop reads with ambiguous phase.\n<p>b - [STR] Prefix of BAM output. …\n"],["plot_chromosome_coverage","Bio::DB::Sam","Bio/DB/Sam.html#method-i-plot_chromosome_coverage","(chr,start,length, opts={})","<p>returns an array of coverage for each location for which there are mapped\nreads\n<p>chr - the reference name …\n"],["ref_count","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-ref_count","()","<p>returns the count of reference-bases in the reads at this position\n"],["reheader","Bio::DB::Sam","Bio/DB/Sam.html#method-i-reheader","(header_sam, opts={})","<p>Replace the header of the current bam file with the header in header_sam\n<p>header_sam - the sam file from …\n"],["remove_duplicates","Bio::DB::Sam","Bio/DB/Sam.html#method-i-remove_duplicates","(opts={})","<p>Remove potential PCR duplicates: if multiple read pairs have identical\nexternal coordinates, only retain …\n"],["rmdup","Bio::DB::Sam","Bio/DB/Sam.html#method-i-rmdup","(opts={})",""],["set","Bio::DB::Tag","Bio/DB/Tag.html#method-i-set","(str)",""],["sort","Bio::DB::Sam","Bio/DB/Sam.html#method-i-sort","(opts={})","<p>Sort alignments by leftmost coordinates\n<p>n - sort by read name\n<p>f - use &lt;out.prefix&gt; as full file name …\n"],["targetcut","Bio::DB::Sam","Bio/DB/Sam.html#method-i-targetcut","(opts={})","<p>Identifies target regions by examining the continuity of read depth,\ncomputes haploid consensus sequences …\n"],["to_s","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-to_s","()","<p>returns pileup format line\n"],["to_vcf","Bio::DB::Pileup","Bio/DB/Pileup.html#method-i-to_vcf","()","<p>returns basic VCF string as per samtools/misc sam2vcf.pl except that it\nscrimps on the ref for indels, …\n"],["tview","Bio::DB::Sam","Bio/DB/Sam.html#method-i-tview","(opts={})","<p>used to generate a text alignment viewer\n<p>d - display, output as (H)tml or (C)urses or (T)ext\n<p>p - [chr:pos] …\n"],["view","Bio::DB::Sam","Bio/DB/Sam.html#method-i-view","(opts={},&block)","<p>runs the samtools view command\n<p>b - output BAM\n<p>h - print header for the SAM output\n"],["LICENSE","","LICENSE_txt.html","","<p>Copyright © 2011 Raoul J.P. Bonnal\n<p>Permission is hereby granted, free of charge, to any person obtaining …\n"]]}}
@@ -6,40 +6,52 @@
6
6
  *
7
7
  */
8
8
 
9
+ /* vim: ft=css et sw=2 ts=2 sts=2 */
9
10
  /* Base Green is: #6C8C22 */
10
11
 
11
12
  * { padding: 0; margin: 0; }
12
13
 
13
14
  body {
14
- background: #efefef;
15
- font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
16
- margin-left: 40px;
15
+ background: #fafafa;
16
+ font-family: Lato, sans-serif;
17
+ font-weight: 300;
17
18
  }
18
- body.file-popup {
19
- font-size: 90%;
20
- margin-left: 0;
19
+
20
+ h1 span,
21
+ h2 span,
22
+ h3 span,
23
+ h4 span,
24
+ h5 span,
25
+ h6 span {
26
+ display: none;
27
+ padding-left: 1em;
28
+ font-size: 10px;
29
+ vertical-align: super;
21
30
  }
22
31
 
23
- h1 {
24
- font-size: 300%;
25
- text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
26
- color: #6C8C22;
32
+ h1:hover span,
33
+ h2:hover span,
34
+ h3:hover span,
35
+ h4:hover span,
36
+ h5:hover span,
37
+ h6:hover span {
38
+ display: inline;
27
39
  }
28
- h2,h3,h4 { margin-top: 1.5em; }
29
40
 
30
41
  :link,
31
42
  :visited {
32
43
  color: #6C8C22;
33
44
  text-decoration: none;
34
45
  }
46
+
35
47
  :link:hover,
36
48
  :visited:hover {
37
49
  border-bottom: 1px dotted #6C8C22;
38
50
  }
39
51
 
52
+ code,
40
53
  pre {
41
- background: #ddd;
42
- padding: 0.5em 0;
54
+ font-family: "Source Code Pro", Monaco, monospace;
43
55
  }
44
56
 
45
57
  /* @group Generic Classes */
@@ -50,10 +62,13 @@ pre {
50
62
 
51
63
  #search-field {
52
64
  width: 98%;
53
- background: #eee;
65
+ background: white;
54
66
  border: none;
55
67
  height: 1.5em;
56
68
  -webkit-border-radius: 4px;
69
+ -moz-border-radius: 4px;
70
+ border-radius: 4px;
71
+ text-align: left;
57
72
  }
58
73
  #search-field:focus {
59
74
  background: #f1edba;
@@ -89,44 +104,31 @@ pre {
89
104
  /* @end */
90
105
 
91
106
  /* @group Index Page, Standalone file pages */
92
- .indexpage ul {
93
- line-height: 160%;
107
+ .table-of-contents ul {
108
+ margin: 1em;
94
109
  list-style: none;
95
110
  }
96
- .indexpage ul :link,
97
- .indexpage ul :visited {
98
- font-size: 16px;
99
- }
100
111
 
101
- .indexpage li {
102
- padding-left: 20px;
112
+ .table-of-contents ul ul {
113
+ margin-top: 0.25em;
103
114
  }
104
115
 
105
- .indexpage ul > li {
106
- background: url(images/bullet_black.png) no-repeat left 4px;
107
- }
108
- .indexpage li.method {
109
- background: url(images/plugin.png) no-repeat left 4px;
110
- }
111
- .indexpage li.module {
112
- background: url(images/package.png) no-repeat left 4px;
113
- }
114
- .indexpage li.class {
115
- background: url(images/ruby.png) no-repeat left 4px;
116
- }
117
- .indexpage li.file {
118
- background: url(images/page_white_text.png) no-repeat left 4px;
116
+ .table-of-contents ul :link,
117
+ .table-of-contents ul :visited {
118
+ font-size: 16px;
119
119
  }
120
- .indexpage li li {
121
- background: url(images/tag_blue.png) no-repeat left 4px;
120
+
121
+ .table-of-contents li {
122
+ margin-bottom: 0.25em;
122
123
  }
123
- .indexpage li .toc-toggle {
124
+
125
+ .table-of-contents li .toc-toggle {
124
126
  width: 16px;
125
127
  height: 16px;
126
128
  background: url(images/add.png) no-repeat;
127
129
  }
128
130
 
129
- .indexpage li .toc-toggle.open {
131
+ .table-of-contents li .toc-toggle.open {
130
132
  background: url(images/delete.png) no-repeat;
131
133
  }
132
134
 
@@ -134,14 +136,32 @@ pre {
134
136
 
135
137
  /* @group Top-Level Structure */
136
138
 
137
- #metadata {
139
+ nav {
138
140
  float: left;
139
141
  width: 260px;
142
+ font-family: Helvetica, sans-serif;
143
+ font-size: 14px;
140
144
  }
141
145
 
142
- #documentation {
143
- margin: 2em 1em 5em 300px;
146
+ main {
147
+ display: block;
148
+ margin: 0 2em 5em 260px;
149
+ padding-left: 20px;
144
150
  min-width: 340px;
151
+ font-size: 16px;
152
+ }
153
+
154
+ main h1,
155
+ main h2,
156
+ main h3,
157
+ main h4,
158
+ main h5,
159
+ main h6 {
160
+ font-family: Helvetica, sans-serif;
161
+ }
162
+
163
+ .table-of-contents main {
164
+ margin-left: 2em;
145
165
  }
146
166
 
147
167
  #validator-badges {
@@ -152,58 +172,76 @@ pre {
152
172
 
153
173
  /* @end */
154
174
 
155
- /* @group Metadata Section */
156
- #metadata .section {
157
- background-color: #dedede;
158
- -moz-border-radius: 5px;
159
- -webkit-border-radius: 5px;
160
- border: 1px solid #aaa;
161
- margin: 0 8px 8px;
175
+ /* @group navigation */
176
+ nav {
177
+ margin-bottom: 1em;
178
+ }
179
+
180
+ nav .nav-section {
181
+ margin-top: 2em;
182
+ border-top: 2px solid #aaa;
162
183
  font-size: 90%;
163
184
  overflow: hidden;
164
185
  }
165
- #metadata h3.section-header {
186
+
187
+ nav h2 {
166
188
  margin: 0;
167
- padding: 2px 8px;
168
- background: #ccc;
169
- color: #666;
170
- -moz-border-radius-topleft: 4px;
171
- -moz-border-radius-topright: 4px;
172
- -webkit-border-top-left-radius: 4px;
173
- -webkit-border-top-right-radius: 4px;
174
- border-bottom: 1px solid #aaa;
189
+ padding: 2px 8px 2px 8px;
190
+ background-color: #e8e8e8;
191
+ color: #555;
192
+ font-size: 125%;
193
+ text-align: center;
175
194
  }
176
- #metadata #home-section h3.section-header {
177
- border-bottom: 0;
195
+
196
+ nav h3,
197
+ #table-of-contents-navigation {
198
+ margin: 0;
199
+ padding: 2px 8px 2px 8px;
200
+ text-align: right;
201
+ background-color: #e8e8e8;
202
+ color: #555;
178
203
  }
179
204
 
180
- #metadata ul,
181
- #metadata dl,
182
- #metadata p {
183
- padding: 8px;
205
+ nav ul,
206
+ nav dl,
207
+ nav p {
208
+ padding: 4px 8px 0;
184
209
  list-style: none;
185
210
  }
186
211
 
187
- #file-metadata {
188
- margin-top: 2em;
212
+ #project-navigation .nav-section {
213
+ margin: 0;
214
+ border-top: 0;
189
215
  }
190
216
 
191
- #file-metadata ul {
192
- padding-left: 28px;
193
- list-style-image: url(images/page_green.png);
217
+ #home-section h2 {
218
+ text-align: center;
194
219
  }
195
220
 
196
- dl.svninfo {
197
- color: #666;
198
- margin: 0;
199
- }
200
- dl.svninfo dt {
221
+ #table-of-contents-navigation {
222
+ font-size: 1.2em;
201
223
  font-weight: bold;
224
+ text-align: center;
225
+ }
226
+
227
+ #search-section {
228
+ margin-top: 0;
229
+ border-top: 0;
230
+ }
231
+
232
+ #search-field-wrapper {
233
+ border-top: 1px solid #aaa;
234
+ border-bottom: 1px solid #aaa;
235
+ padding: 3px 8px;
236
+ background-color: #e8e8e8;
237
+ color: #555;
202
238
  }
203
239
 
204
240
  ul.link-list li {
205
241
  white-space: nowrap;
242
+ line-height: 1.4em;
206
243
  }
244
+
207
245
  ul.link-list .type {
208
246
  font-size: 8px;
209
247
  text-transform: uppercase;
@@ -213,102 +251,125 @@ ul.link-list .type {
213
251
  -webkit-border-radius: 5px;
214
252
  }
215
253
 
254
+ .calls-super {
255
+ background: url(images/arrow_up.png) no-repeat right center;
256
+ }
257
+
216
258
  /* @end */
217
259
 
218
- /* @group Class Metadata Section */
219
- #class-metadata {
220
- margin-top: 2em;
260
+ /* @group Documentation Section */
261
+ main {
262
+ color: #333;
221
263
  }
222
- /* @end */
223
264
 
224
- /* @group Project Metadata Section */
225
- #project-metadata {
226
- margin-top: 2em;
265
+ main > h1:first-child,
266
+ main > h2:first-child,
267
+ main > h3:first-child,
268
+ main > h4:first-child,
269
+ main > h5:first-child,
270
+ main > h6:first-child {
271
+ margin-top: 0px;
227
272
  }
228
273
 
229
- #project-metadata .section {
230
- border: 1px solid #aaa;
274
+ main sup {
275
+ vertical-align: super;
276
+ font-size: 0.8em;
231
277
  }
232
- #project-metadata h3.section-header {
233
- border-bottom: 1px solid #aaa;
234
- position: relative;
278
+
279
+ /* The heading with the class name */
280
+ main h1[class] {
281
+ margin-top: 0;
282
+ margin-bottom: 1em;
283
+ font-size: 2em;
284
+ color: #6C8C22;
235
285
  }
236
286
 
237
- #project-metadata form {
238
- color: #777;
239
- background: #ccc;
287
+ main h1 {
288
+ margin: 2em 0 0.5em;
289
+ font-size: 1.7em;
240
290
  }
241
291
 
242
- /* @end */
292
+ main h2 {
293
+ margin: 2em 0 0.5em;
294
+ font-size: 1.5em;
295
+ }
243
296
 
244
- /* @group Documentation Section */
245
- .description {
246
- font-size: 100%;
247
- color: #333;
297
+ main h3 {
298
+ margin: 2em 0 0.5em;
299
+ font-size: 1.2em;
248
300
  }
249
301
 
250
- .description p {
251
- margin: 1em 0.4em;
302
+ main h4 {
303
+ margin: 2em 0 0.5em;
304
+ font-size: 1.1em;
252
305
  }
253
306
 
254
- .description li p {
255
- margin: 0;
307
+ main h5 {
308
+ margin: 2em 0 0.5em;
309
+ font-size: 1em;
256
310
  }
257
311
 
258
- .description ol,
259
- .description ul {
260
- margin-left: 1.5em;
312
+ main h6 {
313
+ margin: 2em 0 0.5em;
314
+ font-size: 1em;
261
315
  }
262
- .description ol li,
263
- .description ul li {
316
+
317
+ main p {
318
+ margin: 0 0 0.5em;
264
319
  line-height: 1.4em;
265
320
  }
266
321
 
267
- .note-list {
268
- margin: 8px 0;
322
+ main pre {
323
+ margin: 1.2em 0.5em;
324
+ padding: 1em;
325
+ font-size: 0.8em;
269
326
  }
270
327
 
271
- .label-list {
272
- margin: 8px 1.5em;
273
- border: 1px solid #ccc;
328
+ main hr {
329
+ margin: 1.5em 1em;
330
+ border: 2px solid #ddd;
274
331
  }
275
- .description .label-list {
276
- font-size: 14px;
332
+
333
+ main blockquote {
334
+ margin: 0 2em 1.2em 1.2em;
335
+ padding-left: 0.5em;
336
+ border-left: 2px solid #ddd;
277
337
  }
278
338
 
279
- .note-list dt {
280
- font-weight: bold;
339
+ main ol,
340
+ main ul {
341
+ margin: 1em 2em;
281
342
  }
282
- .note-list dd {
283
- padding: 0 12px;
343
+
344
+ main li > p {
345
+ margin-bottom: 0.5em;
284
346
  }
285
347
 
286
- .label-list dt {
287
- padding: 2px 4px;
288
- font-weight: bold;
289
- background: #ddd;
348
+ main dl {
349
+ margin: 1em 0.5em;
290
350
  }
291
- .label-list dd {
292
- padding: 2px 12px;
351
+
352
+ main dt {
353
+ margin-bottom: 0.5em;
354
+ font-weight: bold;
293
355
  }
294
- .label-list dd + dt,
295
- .note-list dd + dt {
296
- margin-top: 0.7em;
356
+
357
+ main dd {
358
+ margin: 0 1em 1em 0.5em;
297
359
  }
298
360
 
299
- #documentation .section {
300
- font-size: 90%;
361
+ main header h2 {
362
+ margin-top: 2em;
363
+ border-width: 0;
364
+ border-top: 4px solid #bbb;
365
+ font-size: 130%;
301
366
  }
302
367
 
303
- #documentation h2.section-header {
304
- margin-top: 1em;
305
- padding: 0.25em 0.5em;
306
- background: #ccc;
307
- color: #333;
308
- font-size: 175%;
309
- border: 1px solid #bbb;
310
- -moz-border-radius: 3px;
311
- -webkit-border-radius: 3px;
368
+ main header h3 {
369
+ margin: 2em 0 1.5em;
370
+ border-width: 0;
371
+ border-top: 3px solid #bbb;
372
+ font-size: 120%;
312
373
  }
313
374
 
314
375
  .documentation-section-title {
@@ -317,47 +378,35 @@ ul.link-list .type {
317
378
  .documentation-section-title .section-click-top {
318
379
  position: absolute;
319
380
  top: 6px;
320
- right: 12px;
381
+ left: 12px;
321
382
  font-size: 10px;
322
383
  color: #9b9877;
323
384
  visibility: hidden;
324
- padding-right: 0.5px;
385
+ padding-left: 0.5px;
325
386
  }
326
387
 
327
388
  .documentation-section-title:hover .section-click-top {
328
389
  visibility: visible;
329
390
  }
330
391
 
331
- #documentation h3.section-header {
332
- margin-top: 1em;
333
- padding: 0.25em 0.5em;
334
- background-color: #dedede;
335
- color: #333;
336
- font-size: 150%;
337
- border: 1px solid #bbb;
338
- -moz-border-radius: 3px;
339
- -webkit-border-radius: 3px;
340
- }
341
-
342
- #constants-list > dl,
343
- #attributes-list > dl {
392
+ .constants-list > dl {
344
393
  margin: 1em 0 2em;
345
394
  border: 0;
346
395
  }
347
- #constants-list > dl dt,
348
- #attributes-list > dl dt {
396
+
397
+ .constants-list > dl dt {
398
+ margin-bottom: 0.75em;
349
399
  padding-left: 0;
350
- font-weight: bold;
351
- font-family: Monaco, "Andale Mono";
352
- background: inherit;
400
+ font-family: "Source Code Pro", Monaco, monospace;
401
+ font-size: 110%;
353
402
  }
354
- #constants-list > dl dt a,
355
- #attributes-list > dl dt a {
403
+
404
+ .constants-list > dl dt a {
356
405
  color: inherit;
357
406
  }
358
- #constants-list > dl dd,
359
- #attributes-list > dl dd {
360
- margin: 0 0 1em 0;
407
+
408
+ .constants-list > dl dd {
409
+ margin: 0 0 2em 0;
361
410
  padding: 0;
362
411
  color: #666;
363
412
  }
@@ -381,88 +430,77 @@ ul.link-list .type {
381
430
 
382
431
  /* @group Method Details */
383
432
 
384
- #documentation .method-source-code {
433
+ main .method-source-code {
385
434
  display: none;
386
435
  }
387
436
 
388
- #documentation .method-detail {
389
- margin: 0.5em 0;
390
- padding: 0.5em 0;
437
+ main .method-description .method-calls-super {
438
+ color: #333;
439
+ font-weight: bold;
440
+ }
441
+
442
+ main .method-detail {
443
+ margin-bottom: 2.5em;
391
444
  cursor: pointer;
392
445
  }
393
- #documentation .method-detail:hover {
394
- background-color: #f1edba;
446
+
447
+ main .method-detail:target {
448
+ margin-left: -10px;
449
+ border-left: 10px solid #f1edba;
395
450
  }
396
- #documentation .method-heading {
451
+
452
+ main .method-heading {
397
453
  position: relative;
398
- padding: 2px 4px 0 20px;
399
- font-size: 125%;
454
+ font-family: "Source Code Pro", Monaco, monospace;
455
+ font-size: 110%;
400
456
  font-weight: bold;
401
457
  color: #333;
402
- background: url(images/brick.png) no-repeat left bottom;
403
458
  }
404
- #documentation .method-heading :link,
405
- #documentation .method-heading :visited {
459
+ main .method-heading :link,
460
+ main .method-heading :visited {
406
461
  color: inherit;
407
462
  }
408
- #documentation .method-click-advice {
463
+ main .method-click-advice {
409
464
  position: absolute;
410
465
  top: 2px;
411
466
  right: 5px;
412
- font-size: 10px;
467
+ font-size: 12px;
413
468
  color: #9b9877;
414
469
  visibility: hidden;
415
470
  padding-right: 20px;
416
471
  line-height: 20px;
417
472
  background: url(images/zoom.png) no-repeat right top;
418
473
  }
419
- #documentation .method-heading:hover .method-click-advice {
474
+ main .method-heading:hover .method-click-advice {
420
475
  visibility: visible;
421
476
  }
422
477
 
423
- #documentation .method-alias .method-heading {
424
- color: #666;
425
- background: url(images/brick_link.png) no-repeat left bottom;
426
- }
427
-
428
- #documentation .method-description,
429
- #documentation .aliases {
430
- margin: 0 20px;
478
+ main .method-alias .method-heading {
431
479
  color: #666;
432
480
  }
433
481
 
434
- #documentation .method-description p,
435
- #documentation .aliases p {
436
- line-height: 1.2em;
482
+ main .method-description,
483
+ main .aliases {
484
+ margin-top: 0.75em;
485
+ color: #333;
437
486
  }
438
487
 
439
- #documentation .aliases {
488
+ main .aliases {
440
489
  padding-top: 4px;
441
490
  font-style: italic;
442
491
  cursor: default;
443
492
  }
444
- #documentation .method-description p {
445
- margin-bottom: 0.5em;
446
- }
447
- #documentation .method-description ul {
493
+ main .method-description ul {
448
494
  margin-left: 1.5em;
449
495
  }
450
- pre {
451
- margin: 0.5em 0;
452
- }
453
496
 
454
- #documentation .attribute-method-heading {
455
- background: url(images/tag_green.png) no-repeat left bottom;
456
- }
457
- #documentation #attribute-method-details .method-detail:hover {
497
+ main #attribute-method-details .method-detail:hover {
458
498
  background-color: transparent;
459
499
  cursor: default;
460
500
  }
461
- #documentation .attribute-access-type {
462
- font-size: 60%;
501
+ main .attribute-access-type {
463
502
  text-transform: uppercase;
464
- vertical-align: super;
465
- padding: 0 2px;
503
+ padding: 0 1em;
466
504
  }
467
505
  /* @end */
468
506
 
@@ -471,15 +509,12 @@ pre {
471
509
  /* @group Source Code */
472
510
 
473
511
  pre {
474
- overflow: auto;
475
- background: #262626;
476
- color: white;
512
+ margin: 0.5em 0;
477
513
  border: 1px dashed #999;
478
514
  padding: 0.5em;
479
- }
480
-
481
- .description pre {
482
- margin: 0 0.4em;
515
+ background: #262626;
516
+ color: white;
517
+ overflow: auto;
483
518
  }
484
519
 
485
520
  .ruby-constant { color: #7fffd4; background: transparent; }
@@ -488,7 +523,7 @@ pre {
488
523
  .ruby-operator { color: #00ffee; background: transparent; }
489
524
  .ruby-identifier { color: #ffdead; background: transparent; }
490
525
  .ruby-node { color: #ffa07a; background: transparent; }
491
- .ruby-comment { color: #dc0000; font-weight: bold; background: transparent; }
526
+ .ruby-comment { color: #dc0000; background: transparent; }
492
527
  .ruby-regexp { color: #ffa07a; background: transparent; }
493
528
  .ruby-value { color: #7fffd4; background: transparent; }
494
529
 
@@ -496,23 +531,24 @@ pre {
496
531
 
497
532
 
498
533
  /* @group search results */
499
- #search-results h1 {
500
- font-size: 1em;
534
+ #search-results {
535
+ font-family: Lato, sans-serif;
536
+ font-weight: 300;
537
+ }
538
+
539
+ #search-results .search-match {
540
+ font-family: Helvetica, sans-serif;
501
541
  font-weight: normal;
502
- text-shadow: none;
503
542
  }
504
543
 
505
- #search-results .current {
506
- background: #ccc;
544
+ #search-results .search-selected {
545
+ background: #e8e8e8;
507
546
  border-bottom: 1px solid transparent;
508
547
  }
509
548
 
510
549
  #search-results li {
511
550
  list-style: none;
512
551
  border-bottom: 1px solid #aaa;
513
- -moz-border-radius: 4px;
514
- -webkit-border-radius: 4px;
515
- border-radius: 4px;
516
552
  margin-bottom: 0.5em;
517
553
  }
518
554
 
@@ -537,6 +573,7 @@ pre {
537
573
 
538
574
  #search-results pre {
539
575
  margin: 0.5em;
576
+ font-family: "Source Code Pro", Monaco, monospace;
540
577
  }
541
578
 
542
579
  /* @end */