-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Tximport fails for experiments where samples were processed with different versions of Salmon #1496
Comments
Seems like this is affecting
queries for referencedata_refinery=> select count(samples.id)
from experiments as E
inner join experiment_sample_associations on E.id=experiment_sample_associations.experiment_id
inner join samples on samples.id=experiment_sample_associations.sample_id
where (
select count(distinct(organism_index.salmon_version))
from samples
inner join sample_result_associations on samples.id=sample_result_associations.sample_id
inner join computational_results on sample_result_associations.result_id=computational_results.id
inner join organism_index on computational_results.organism_index_id=organism_index.id
where
samples.id in (select sample_id from experiment_sample_associations where experiment_id=E.id)
) > 1;
count
-------
58263
(1 row)
data_refinery=> select count(samples.id)
from experiments as E
inner join experiment_sample_associations on E.id=experiment_sample_associations.experiment_id
inner join samples on samples.id=experiment_sample_associations.sample_id
where (
select count(distinct(organism_index.salmon_version))
from samples
inner join sample_result_associations on samples.id=sample_result_associations.sample_id
inner join computational_results on sample_result_associations.result_id=computational_results.id
inner join organism_index on computational_results.organism_index_id=organism_index.id
where
samples.id in (select sample_id from experiment_sample_associations where experiment_id=E.id)
) > 1
and samples.is_processed='t';
count
-------
2373
(1 row)
data_refinery=> select count(*)
from experiments as E
where (
select count(distinct(organism_index.salmon_version))
from samples
inner join sample_result_associations on samples.id=sample_result_associations.sample_id
inner join computational_results on sample_result_associations.result_id=computational_results.id
inner join organism_index on computational_results.organism_index_id=organism_index.id
where
samples.id in (select sample_id from experiment_sample_associations where experiment_id=E.id)
) > 1;
count
-------
659
(1 row) |
4 tasks
4 tasks
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
We got some Tximport failing with the following error message:
Problem or idea
This was caused because we used different versions of salmon to process the samples in some experiments, which generates different quant files.
Solution or next step
Talked with @kurtwheeler, we want to re-run the latest version of Salmon on the unprocessed experiments and then re-run tximport.
The text was updated successfully, but these errors were encountered: