Mercurial > repos > fubar > jbrowse2dev
view jbrowse2/convertMAF.sh @ 5:42ca8804cd93 draft
urls in minimal, bloat in complete
author | fubar |
---|---|
date | Thu, 04 Jan 2024 02:18:18 +0000 |
parents | cd5d63cd0eb5 |
children |
line wrap: on
line source
#!/usr/bin/env bash # https://github.com/cmdcolin/jbrowse-plugin-mafviewer/blob/master/bin/convert.sh # MAF file must contain the species name and chromosome name # e.g. hg38.chr1 in the sequence identifiers. perl $3/maf2bed.pl $2 < $1 | sort -k1,1 -k2,2n > $4.sorted.bed bgzip $4.sorted.bed tabix -p bed $4.sorted.bed.gz