(Required) path to the file to parse. two types of formats are accepted. If the file comes from the ChIA-PET tool or has the same format used in the ENCODE project
chromleft startleft endleft chromright startright endright
chr1 872113 879175 chr1 933836 938416
chr1 874165 879175 chr1 933340 938306
chr1 889676 896594 chr1 933897 938982
chr1 898753 907581 chr1 931133 939571
chr1 910103 918775 chr1 930834 938627
chr1 919314 922154 chr1 934212 937864
only the the coordinates of the left and the right regions are considered (which means the first 6 columns),
The additional columns are just ignored. We suppose that the user has already selected the interactions
that sound significant for him.
if this kind of file is provided the IsBed
parameter should be set to FASLE
. if the file has no header the user
needs to set header=FALSE
.
if IsBed
parameter is provided, the provided file should have 4 columns, three to describe the region location
and the forth column to indicate the ID of the interaction and its position (1: for left and 2: for right),
according to following pattern PET#\d\.1
or PET#\d\.2
.
chr1 1241234 1242234 PET#1.1
chr1 1242724 1243724 PET#1.2
chr1 1282708 1283708 PET#2.1
chr1 1283834 1284834 PET#2.2
chr1 1370871 1371871 PET#3.1
chr1 1372322 1373322 PET#3.2