bepoli / misc

Miscellaneous bioinformatics utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Miscellaneous bioinformatics utilities

bed12togtf.awk

Converts a bed12 transcript annotation to gtf format. Example:

bed12togtf.awk annotation.bed > annotation.gtf

rmsk2bed

Convert RepeatMasker output to bed or gtf format. Examples:

wget https://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/hg38.fa.out.gz

# bed format (default)
zcat hg38.fa.out.gz | ./rmsk2bed > rmsk_hg38_open-4.0.3-20130422.bed

# gtf format
zcat hg38.fa.out.gz | ./rmsk2bed -f gtf > rmsk_hg38_open-4.0.3-20130422.bed

# gtf format without classes that could interfere with RNA-seq quantifiers (e.g. TEtranscripts)
zcat hg38.fa.out.gz | ./rmsk2bed -f gtf -t > rmsk_hg38_open-4.0.3-20130422.filtered.bed

About

Miscellaneous bioinformatics utilities

License:MIT License


Languages

Language:Shell 92.4%Language:Awk 7.6%