I have a pretty odd question.
Via Python I create a .bed file. This .bed file consists of 3 columns: chromosomestartend. This file should then be analysed by a build-in tool in Linux, but it says "Unexpected file format.". Via cat -e file.bed | more I saw that all lines end with ^M$, where it should end with only $ (Atleast manually created files show only $ and work).
Does anyone know how to solve this? I'm using Bio-Linux on a VirtualBox with Ubuntu 12.04.4 LTS
Thanks,
Edit: File is build up in Python via;
test = "".join(chromosomes) #chromosomes = chr<tab>start<tab>end<space>\n
bed.write(test[0:-1])