mkdir: cannot create directory ‘compartments_stat’: File exists The following chromosome names did not match between the the bam files chromosome length mmchrM 16299 mmchr1_GL456221_random 206961 mmchrUn_GL456378 31602 mmchrUn_GL456381 25871 mmchrUn_GL456360 31704 mmchrUn_GL456387 24685 mmchrY_JH584301_random 259875 CMV_plasmidold 3252 mmchr1_GL456210_random 169725 mmchr13 120421639 mmchr4_JH584294_random 191905 mmchrUn_GL456383 38659 mmchrUn_GL456359 22974 mmchrX_GL456233_random 336933 mmchrUn_GL456239 40056 mmchrUn_GL456389 28772 mmchr5_GL456354_random 195993 pUC19_NlaMut_full 2680 mmchr5 151834684 mmchrUn_GL456370 26764 mmchrX 171031299 mmchr4_JH584293_random 207968 mmchr1_GL456212_random 153618 mmchr5_JH584296_random 199368 mmchrY_JH584300_random 182347 mmchr16 98207768 mmchr14 124902244 mmchr5_JH584297_random 205776 mmchr11 122082543 mmchr10 130694993 mmchr5_JH584298_random 184189 mmchr4_JH584292_random 14945 mmchr1 195471971 mmchrY_JH584302_random 155838 mmchr7_GL456219_random 175968 mmchr19 61431566 mmchr2 182113224 mmchr15 104043685 mmchr17 94987271 mmchrUn_GL456382 23158 mmchrUn_GL456393 55711 mmchrUn_GL456379 72385 mmchr4_GL456350_random 227966 mmchr6 149736546 mmchrUn_GL456396 21240 mmchr7 145441459 mmchr4_GL456216_random 66673 mmchrUn_GL456390 24668 mmchr8 129401213 mmchrUn_JH584304 114452 mmchr5_JH584299_random 953012 mmchrUn_GL456385 35240 mmchrY 91744698 mmchrUn_GL456394 24323 mmchrUn_GL456366 47073 mmchr18 90702639 mmchrUn_GL456392 23629 mmchr3 160039680 mmchr1_GL456211_random 241735 mmchrY_JH584303_random 158099 mmchr4_JH584295_random 1976 mmchrUn_GL456368 20208 mmchr9 124595110 mmchr1_GL456213_random 39340 mmchrUn_GL456367 42057 mmchr4 156508116 mmchrUn_GL456372 28664 mmchr12 120129022 *Warning* The resulting bed file does not contain information for the chromosomes that were not common between the bigwig files Number of bins found: 30894 Traceback (most recent call last): File "/mnt/storage/home/psbelokopytova/scratch/202208081122polya_data/4c_plasmid/calculate_reads_in_compartments.py", line 5, in comp_e1 = pd.read_csv("/mnt/scratch/ws/psbelokopytova/202206141106Polina_data/4c_plasmid/compartments_stat/K562eigen_100Kb_modifyedByGC.bedGraph", sep="\t", names=["#'chr'", "'start'", "'end'", "e1"]) File "/mnt/storage/home/psbelokopytova/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 676, in parser_f return _read(filepath_or_buffer, kwds) File "/mnt/storage/home/psbelokopytova/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 448, in _read parser = TextFileReader(fp_or_buf, **kwds) File "/mnt/storage/home/psbelokopytova/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 880, in __init__ self._make_engine(self.engine) File "/mnt/storage/home/psbelokopytova/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 1114, in _make_engine self._engine = CParserWrapper(self.f, **self.options) File "/mnt/storage/home/psbelokopytova/.local/lib/python3.6/site-packages/pandas/io/parsers.py", line 1891, in __init__ self._reader = parsers.TextReader(src, **kwds) File "pandas/_libs/parsers.pyx", line 374, in pandas._libs.parsers.TextReader.__cinit__ File "pandas/_libs/parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source FileNotFoundError: [Errno 2] File /mnt/scratch/ws/psbelokopytova/202206141106Polina_data/4c_plasmid/compartments_stat/K562eigen_100Kb_modifyedByGC.bedGraph does not exist: '/mnt/scratch/ws/psbelokopytova/202206141106Polina_data/4c_plasmid/compartments_stat/K562eigen_100Kb_modifyedByGC.bedGraph'