title: Working with "bed" files in python
body: <p>I have a .bed file which contains 1000 lines and the words in each line are separated by tab (\t). If we consider each word as one column, each line has 12 columns. 
  I need a way to convert this .bed file to a matrix, so that I can access its columns easily.
  Foe example, I need to access the column number 12. Is there any way that I can do it?</p>
  
  <p>I already have tried this:</p>
  
  <pre><code>    import numpy as np
      data = np.genfromtxt("myFile.bed")
  </code></pre>
  
  <p>but it does not work properly.
  Can any one help me please?</p>