Lioscro / alaska-parse

Automated and friendly RNA-seq analysis (migrated to Parse Server)
http://alaska.caltech.edu
1 stars 0 forks source link

genotype annotation #15

Open dangeles opened 5 years ago

dangeles commented 5 years ago

currently we annotate samples with their genotype names automatically in post-processing. But one could imagine that the diff. exp. analysis is done between Strain 1 and Strain 2 with identical genotypes but different organismal backgrounds (i.e. both Strain 1 and Strain 2 are dpy-1 mutants, but Strain 1 is N2 and Strain 2 is hawaiian). This would result in the plots being improperly labeled.

We should have a short python script to check that the strain to genotype mapping is one to one and unto, and then assume genotypes can be used to annotate strains. Else, annotate with the factor selected for analysis.

Alternatively, and more simply, maybe we should just label samples with the desired factor, and ask the user whether strain ID should be replaced with the fancy genotype, if there is one.