mpg-age-bioinformatics / AGEpy

Bioinformatics tools for Python
http://agepy.readthedocs.io
MIT License
23 stars 3 forks source link

david: split gene ids (merged from cufflinks) #4

Closed setempler closed 7 years ago

setempler commented 8 years ago

Add option --split-id SEPARATOR:

See also https://github.com/mpg-age-bioinformatics/htseq-tools/blob/master/aDiff

jorgeboucas commented 8 years ago

use XLOC to retrieved old gene id

setempler commented 8 years ago

XLOC can contain list of genes.

So, for one XLOC

1) split list and duplicate lines per element?

e.g.

gene_id     log2fc pvalue
geneA;geneB 3.1    0.034

to

gene_id log2fc pvalue
geneA   3.1    0.034
geneB   3.1    0.034

or

2) use first gene only (as aDiff did)?

jorgeboucas commented 8 years ago

do 1) as aDiff does.