Skip to content
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

[WIP] re-instate reference version check #11

Merged
merged 2 commits into from
Jul 20, 2020
Merged

Conversation

nlhepler
Copy link

No description provided.

@nlhepler nlhepler changed the title re-instate reference version check [WIP] re-instate reference version check Jul 13, 2020
@@ -140,13 +140,13 @@ void Genome::genomeLoad(){//allocate and load Genome
errOut << "EXITING because of FATAL ERROR: read no value for the versionGenome parameter from genomeParameters.txt file\n";
errOut << "SOLUTION: please re-generate genome from scratch with the latest version of STAR\n";
exitWithError(errOut.str(),std::cerr, P.inOut->logMain, EXIT_CODE_GENOME_FILES, P);
} else if (P1.versionGenome == P.versionGenome) {//
} else if (P1.versionGenome == P.versionGenome || (!P.quant.yes && P1.versionGenome == "20201")) {//

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add a comment here to indicate that versionGenome of 20201 corresponds to STAR 2.5.1b? Otherwise LGTM. Thanks, Lance!

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or 2.7.1a rather re

20201 jumps straight to 2.7.1a, so these are the only supported versions at present.

@sjackman
Copy link

Do we use cellranger with older versions of 10x reference genomes, and if so what is the versionGenome of these older references?

@nlhepler
Copy link
Author

20201 jumps straight to 2.7.1a, so these are the only supported versions at present.

@sjackman
Copy link

So this PR will work with GRCh38-3.0.0 and GRCh38-2020-A. Does it need to work with older references, and what is the versionGenome of those references?

@nlhepler
Copy link
Author

@sjackman I leave that as an exercise for you. But cellranger under STAR 2.5.1b already required at least version 20201, so that would de-facto be the minimum version supported.

@sjackman
Copy link

But cellranger under STAR 2.5.1b already required at least version 20201, so that would de-facto be the minimum version supported.

Right! I had forgotten that the STAR that shipped with Cell Ranger 3.1 had the version check enabled. It wasn't defeated until the first Orbit commit ace1642.

@nlhepler
Copy link
Author

This brings orbit into parity with the 2.7.2a-tenx branch. Will merge if testing passes and update the relevant orbit PR.

@nlhepler nlhepler merged commit 87af899 into orbit Jul 20, 2020
@nlhepler nlhepler deleted the lh/CELLRANGER-3676 branch July 20, 2020 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants