I'm interested in obtaining the consensus sequence for a determined chromosome in fasta format from the 1000 genomes data. I have bee looking the .bam files that the FTP site provides for each individual (whole sequencing data), however, i am interested in a determined chromosome sequence and not in the complete genome. My questions are:
Does exists a way to download a specific region of the genome data from 1000 genomes project (i suppose in .bam format)?
How can i transform a .bam file into the consensus sequence in a .fasta format?