Mercurial > repos > ebi-gxa > gtf2gene_list
comparison gtf2gene.R @ 0:040d4b3a19d5 draft
planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/util/.shed.yml commit 9bf9a6e46a330890be932f60d1d996dd166426c4
author | ebi-gxa |
---|---|
date | Wed, 03 Apr 2019 12:05:26 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:040d4b3a19d5 |
---|---|
1 #!/usr/bin/env Rscript | |
2 | |
3 suppressPackageStartupMessages(require(rtracklayer)) | |
4 args <- commandArgs(TRUE) | |
5 | |
6 annotation <- elementMetadata(import( args[1] )) | |
7 genes <- unique(annotation[['gene_id']]) | |
8 writeLines(genes[ ! is.na(genes)], con = 'genes.txt') |