-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow backfilling of counts and rpkm without triggering preprocessing #771
base: development
Are you sure you want to change the base?
Conversation
Ideally we would just compare the log2cpm with the new one and trigger post-processing if they differ. I'll write some unit tests for the CLI. |
I'll write unit tests instead of adding an integration test because it's impractical to check if the preprocessing service has been interacted with. |
This is needed to write unit tests for DataUpdater.
verify( expressionExperimentService, times( 2 ) ).addRawVectors( same( ee ), any() ); | ||
dataUpdater.addCountData( ee, ad, countMatrix, rpkmMatrix, 30, false, false, true ); | ||
verify( expressionExperimentService ).replaceRawVectors( same( ee ), any() ); | ||
verifyNoMoreInteractions( preprocessorService ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ppavlidis I've added the unit test here. It checks that the preprocessor service is only invoked once.
I'll add a test to see how differing library sizes are handled. Let me know if you want other cases covered.
ba.setSequencePairedReads( isPairedReads ); | ||
} | ||
|
||
if ( ba.getSequenceReadCount() != null && ba.getSequenceReadCount() != librarySize && requireExistingLibrarySizesMatch ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a test case for this specific condition.
84692c7
to
e0ec3da
Compare
To address curation issue 362.
By using the the
noLog2cpm
option for RNASeqDataAddCli should allow us to backfill counts and rpkm for old data sets in a minimally-invasive way.Needs testing.
TODO