Hi,
I used Bedtools to convert BAM to BED format for my sequencing data. But together with BED I need the corresponding BIM and FAM files, which are not generated automatically by it. Now, I work with PLINK which has an option to convert such files but the input file should be PED and I couldnt find anyway to convert BAM to PED. It would be really helpful if anyone can suggest me a way for conversion of BAM to BED/BIM/FAM files.
Thank you