Jump to content

Jo27

New Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Jo27

  1. Hey Guys:

     

    For my research project, I would need a python code that will enable me to extract specific lines from a textfile.

     

    The textfile has the following format:

     

    fixedStep chrom=chr3 start=56424 step=1

    0.000
    0.001
    0.001
    0.002
    0.003
    0.004
    0.005
    0.006
    0.007
    0.007
    fixedStep chrom=chr3 start=56425 step=1
    Etc....
    In fact, I would like to obtain an other textfile without the numerical lines, in the following format:
    fixedStep chrom=chr3 start=56424 step=1
    fixedStep chrom=chr3 start=56425 step=1
    Etc....
    Looking forward to hearing from you soon,
    Best, JEFF O.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.