I am trying to deblock a gVCF file and it requires an input BED file. While I have the BED files for the standard genomes such as HG18/HG19 etc my question is how do I generate a BED file from the 1000 genomes reference fasta file or say from a custom reference fasta file?
Hi, getting the lenght of each chromosome of your reference genome (or fasta file), you can use bedtools makewindows to divide it in regions and represent them in bed format.
For example, to divide the human genome into windows of 1MB: