File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ gencode.v19.annotation.genes.bed
3
3
gencode.v27.annotation.genes.bed
4
4
Homo_sapiens.GRCh37.82.chr.bed
5
5
Homo_sapiens.GRCh38.91.chr.bed
6
+ gencode.v19.annotation.genes.id4.bed
Original file line number Diff line number Diff line change 1
1
# make reference annotations for hg19 genes and gene symbols
2
2
# requires BEDOPS http://bedops.readthedocs.io/en/latest/content/reference/file-management/conversion/gtf2bed.html
3
+ SHELL: =/bin/bash
3
4
4
5
# no default action to take
5
6
none :
6
7
7
8
# make all sets of annotations
8
9
all : gencode-hg19 ensembl-hg19 gencode-hg38 ensembl-hg38 ensembl-mm10
9
10
10
- gencode-hg19 : gencode.v19.annotation.genes.bed
11
+ gencode-hg19 : gencode.v19.annotation.genes.id4. bed
11
12
12
13
gencode-hg38 : gencode.v27.annotation.genes.bed
13
14
@@ -28,8 +29,8 @@ gencode.v19.annotation.gtf.gz:
28
29
gencode.v19.annotation.genes.bed : gencode.v19.annotation.gtf.gz
29
30
zcat gencode.v19.annotation.gtf.gz | grep -w gene | convert2bed --input=gtf - > gencode.v19.annotation.genes.bed
30
31
31
-
32
-
32
+ gencode.v19.annotation.genes.id4.bed : gencode.v19.annotation.genes.bed
33
+ paste <( cut -f1-3 gencode.v19.annotation.genes.bed ) <( grep -o ' gene_name ".*" ' gencode.v19.annotation.genes.bed | sed -e ' s|gene_name ||g ' | cut -d ' ; ' -f1 | tr -d ' " ' ) <( cut -f4- gencode.v19.annotation.genes.bed ) > gencode.v19.annotation.genes.id4.bed
33
34
34
35
# ~~~~~ GENCODE hg38 ~~~~~ #
35
36
# generate the Gencode hg38 annotations .bed file
You can’t perform that action at this time.
0 commit comments