Function: Determine the compartments where the gene is located.
Test data: ABcompartment_pal_lg0.txt, gene_list_bin_tpm.txt, 50000.
Download link of test file: https://github.com/yangxy2/3Dgenome-file/tree/main/web_test_file.
Input data description:
A/B compartments list: No header; 4 columns, separated by tab; From left to right, each column represents chromosome name, start coordinate, end coordinate, A/B compartments status(A/B/NA);
Gene list: The first row is the header; 10 columns, separated by tab; From left to right, each column represents gene name, chromosome name, strand, gene start coordinate, gene end coordinate, start bin coordinate, end bin coordinates, number of bins spanned by the gene, gene length, TPM;
Compartments resolution: The resolution of the interaction matrix used for identifing A/B compartments(integer).