Alex Reynolds thanx for your reply I downloaded the file from Genecode "gencode.v29.chr_patch_hapl_scaff.annotation.gff3", and converted into bed format:
chr1 1320455 1320529 exon:ENST00000435064.5:3 . - HAVANA exon . ID=exon:ENST00000435064.5:3;Parent=ENST00000435064.5;gene_id=ENSG00000127054.20;transcript_id=ENST00000435064.5;gene_type=protein_coding;gene_name=INTS11;transcript_type=protein_coding;transcript_name=INTS11-208;exon_number=3;exon_id=ENSE00003666435.1;level=2;protein_id=ENSP00000413493.1;transcript_support_level=1;tag=basic,appris_principal_1,CCDS;ccdsid=CCDS21.1;havana_gene=OTTHUMG00000003330.13;havana_transcript=OTTHUMT00000009360.2
When I run bedops command:
bedops -u <( awk ($6="+") gencode.v29.chr_patch_hapl_scaff.annotation.bed | bedops --range -1000:0 - ) <( awk ($6="-") gencode.v29.chr_patch_hapl_scaff.annotation.bed | bedops --range 0:1000 - ) > promoters.bed
it gives me the following error:
-bash: command substitution: line 15: syntax error near unexpected token `$6="+"'
-bash: command substitution: line 15: ` awk ($6="+") gencode.v29.chr_patch_hapl_scaff.annotation.bed | bedops --range -1000:0 - )'
Could you check is there any problem in bed format? etc.,
Some transcription factors do, literally, have many thousands of targets. Look up oestrogen ('estrogen', in US english) receptor α (alpha), Myc, and Pten, for example. Keep in mind that a transcription factor doesn't know what are its targets... it just binds wherever there is an electromagnetic / 'electrochemical' potential such that it can bind, which is mediated via target DNA sequence motifs and binding sites on the transcription factor. Where binding is sufficiently strong, it may exert its effects; where binding is not strong, the effect may be weaker or non-existent. Also, the target regions have to be accessible for binding to occur - different regions of chromatin will be 'open' (accessible) in different tissues due to tissue-specific differences. These can be gauged by ATAC-seq.
Using the programs that you have already tried, you should be able to order the targets by some sort of score and/or decide whether tissue-specific differences may be at play.