Hello I have encountered a problem when trying to create bam index file.
The whole purpose of this is to convert .BED file into .BAM to visualize in IGB.
bedToBam -i input.bed -g hg19.txt > input.bam
samtools index _Specific_Peaks.bam *_Specific_Peaks.bai [E::hts_idx_push] chromosome blocks not continuous samtools index: failed to create index for "**_Specific_Peaks.bam"
I did sort the reference hg19.txt - chromosome size.
Can someone suggest what I am doing wrong? is there another tool to visualize .BED files?