Mercurial > repos > petr-novak > various_galaxy_tools
diff gff2tabular.R @ 0:696e702ebf74 draft
"planemo upload commit 0f6eca49bafc3c946189d793161a7f81d595e1a1-dirty"
author | petr-novak |
---|---|
date | Mon, 09 May 2022 08:26:30 +0000 |
parents | |
children | 639c0edb7e64 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gff2tabular.R Mon May 09 08:26:30 2022 +0000 @@ -0,0 +1,6 @@ +#!/usr/bin/env Rscript +library(rtracklayer) +gff <- import(commandArgs(T)[1], format='GFF') +tabular <- as.data.frame(gff) +write.table(tabular, file = commandArgs(T)[2], quote=FALSE, sep="\t", row.names=FALSE) +