Transripts will be merged if the following conditions are met (convert "transcript leve" BED file into "gene level" BED file):
1) Have the same gene symbol
2) Locate on the same chromosome and the same strand
3) Genome coordinates are overlapped
*union.bed.gz: "Gene level" BED file, for example:
chr1 140721762 140744156 LHX9 0 - 140725230 140743780 255,0,0 8 3525,678,203,356,203,637,72,73 0,5761,7516,13157,14687,16622,21990,22321
chr1 134461266 134638374 NFASC 0 - 134466996 134539345 255,0,0 34 5962,70,132,153,117,237,15,174,123,205,116,223,71,198,102,45,125,148,167,112,144,132,185,112,51,171,123,197,106,18,181,109,228,127 0,9080,11596,18305,19674,23384,28661,30794,31836,33075,35409,37281,39108,40351,40794,42313,43693,45067,45621,46085,46840,54699,56235,56822,63182,66995,69478,69934,72296,73174,77988,100789,142409,176981
*union.transcript_id.txt.gz: Correspondence between "gene ID" and "transcript ID", for example:
LHX9 NM_010714,NM_001042577,NM_001025565
NFASC NM_001160318,NM_001160317,NM_001160316,NM_182716