Skip to content

Instantly share code, notes, and snippets.

@eigenhombre
Last active December 19, 2015 14:09
Show Gist options
  • Save eigenhombre/5967388 to your computer and use it in GitHub Desktop.
Save eigenhombre/5967388 to your computer and use it in GitHub Desktop.
(->> human
sequence-headers
(map (juxt :name :dna-size :n-block-count))
clojure.pprint/pprint)
;; Gives:
(["chr1" 249250621 39]
["chr2" 243199373 24]
["chr3" 198022430 9]
["chr4" 191154276 12]
["chr5" 180915260 7]
["chr6" 171115067 11]
["chr7" 159138663 17]
["chrX" 155270560 23]
["chr8" 146364022 9]
["chr9" 141213431 40]
["chr10" 135534747 25]
["chr11" 135006516 9]
["chr12" 133851895 13]
["chr13" 115169878 6]
["chr14" 107349540 2]
["chr15" 102531392 12]
["chr16" 90354753 6]
["chr17" 81195210 7]
["chr18" 78077248 20]
["chr20" 63025520 7]
["chrY" 59373566 18]
["chr19" 59128983 6]
["chr22" 51304566 23]
["chr21" 48129895 17]
["chr6_ssto_hap7" 4928567 17]
["chr6_mcf_hap5" 4833398 22]
["chr6_cox_hap2" 4795371 0]
["chr6_mann_hap4" 4683263 16]
["chr6_apd_hap1" 4622290 28]
["chr6_qbl_hap6" 4611984 5]
["chr6_dbb_hap3" 4610396 10]
["chr17_ctg5_hap1" 1680828 2]
["chr4_ctg9_hap1" 590426 0]
["chr1_gl000192_random" 547496 0]
["chrUn_gl000225" 211173 0]
["chr4_gl000194_random" 191469 0]
["chr4_gl000193_random" 189789 0]
["chr9_gl000200_random" 187035 0]
["chrUn_gl000222" 186861 0]
["chrUn_gl000212" 186858 0]
["chr7_gl000195_random" 182896 0]
["chrUn_gl000223" 180455 0]
["chrUn_gl000224" 179693 0]
["chrUn_gl000219" 179198 0]
["chr17_gl000205_random" 174588 0]
["chrUn_gl000215" 172545 0]
["chrUn_gl000216" 172294 0]
["chrUn_gl000217" 172149 0]
["chr9_gl000199_random" 169874 0]
["chrUn_gl000211" 166566 0]
["chrUn_gl000213" 164239 0]
["chrUn_gl000220" 161802 0]
["chrUn_gl000218" 161147 0]
["chr19_gl000209_random" 159169 0]
["chrUn_gl000221" 155397 0]
["chrUn_gl000214" 137718 0]
["chrUn_gl000228" 129120 0]
["chrUn_gl000227" 128374 0]
["chr1_gl000191_random" 106433 0]
["chr19_gl000208_random" 92689 0]
["chr9_gl000198_random" 90085 0]
["chr17_gl000204_random" 81310 0]
["chrUn_gl000233" 45941 0]
["chrUn_gl000237" 45867 0]
["chrUn_gl000230" 43691 0]
["chrUn_gl000242" 43523 0]
["chrUn_gl000243" 43341 0]
["chrUn_gl000241" 42152 0]
["chrUn_gl000236" 41934 0]
["chrUn_gl000240" 41933 0]
["chr17_gl000206_random" 41001 0]
["chrUn_gl000232" 40652 0]
["chrUn_gl000234" 40531 0]
["chr11_gl000202_random" 40103 0]
["chrUn_gl000238" 39939 0]
["chrUn_gl000244" 39929 0]
["chrUn_gl000248" 39786 0]
["chr8_gl000196_random" 38914 0]
["chrUn_gl000249" 38502 0]
["chrUn_gl000246" 38154 0]
["chr17_gl000203_random" 37498 0]
["chr8_gl000197_random" 37175 1]
["chrUn_gl000245" 36651 0]
["chrUn_gl000247" 36422 0]
["chr9_gl000201_random" 36148 0]
["chrUn_gl000235" 34474 0]
["chrUn_gl000239" 33824 0]
["chr21_gl000210_random" 27682 1]
["chrUn_gl000231" 27386 0]
["chrUn_gl000229" 19913 0]
["chrM" 16571 0]
["chrUn_gl000226" 15008 0]
["chr18_gl000207_random" 4262 0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment