pycallingcards.reading.save_bed#

pycallingcards.reading.save_bed(file, path)[source]#

Save .bed file.

Parameters:
  • file (DataFrame) – pd.Dataframe of the file

  • path (str) – Path to the bed file.

Example:

>>> import pycallingcards as cc
>>> SP1 = cc.rd.read_qbed("https://github.com/The-Mitra-Lab/pycallingcards_data/releases/download/data/SP1_P10.txt")
>>> bed = cc.pp.callpeaks(SP1,  method = "CCcaller", reference = "mm10")
>>> qbed = cc.rd.save_bed(bed,"SP1.bed")