text: user15741: A BigWig file for something like Chip-seq, or ATAC data has the following format for each line i:
  chrom_i - start_i - end_i - value_i
  
  I need to convert for each line the (start_i -> end_i) reference to the actual DNA sequence 'ATATCCTAG...' so that at the end I have a list of DNA sequences like 'ATATCCTAG...' and the Chip-seq activity value associated with that sequence segment. What are the ways to do this? For example, what tool(s) can I use to generate the (sequence, value) pairs from browser tracks for the Chip-seq or ATAC etc. And in fact, going from BigWig browser track files for Chip-seq the most direct way to produce this kind of (seq,value) data? Thank you.
  
  user2388: Bedtools can take a list of coordinates and a fasta and return a multifasta of the specified regions.
  
  user14180: [Here is the link.][1]. Instructions are very clear at the website
  [1]: https://bedtools.readthedocs.io/en/latest/content/tools/getfasta.html
  
original_text: 15741: <p>A BigWig file for something like Chip-seq, or ATAC data has the following format for each line i:</p>
  <p>chrom_i - start_i - end_i - value_i</p>
  <p><a href="https://i.stack.imgur.com/buiri.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/buiri.png" alt="enter image description here" /></a></p>
  <p>I need to convert for each line the (start_i -&gt; end_i) reference to the actual DNA sequence 'ATATCCTAG...' so that at the end I have a list of DNA sequences like 'ATATCCTAG...' and the Chip-seq activity value associated with that sequence segment. What are the ways to do this? For example, what tool(s) can I use to generate the (sequence, value) pairs from browser tracks for the Chip-seq or ATAC etc. And in fact, going from BigWig browser track files for Chip-seq the most direct way to produce this kind of (seq,value) data? Thank you.</p>
   2388: <p>Bedtools can take a list of coordinates and a fasta and return a multifasta of the specified regions.</p>
   14180: <p>[Here is the link.][1]. Instructions are very clear at the website<br />
  [1]: https://bedtools.readthedocs.io/en/latest/content/tools/getfasta.html</p>
  