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

When soloOutFormatFeaturesGeneField3 is +, write GeneBiotype as FeaturesGeneField3. #2071

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion source/SoloFeature_outputResults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ void SoloFeature::outputResults(bool cellFilterYes, string outputPrefixMat)
for (uint32 ii=0; ii<Trans.nGe; ii++) {
geneStr << Trans.geID[ii] <<"\t"<< (Trans.geName[ii].empty() ? Trans.geID[ii] : Trans.geName[ii]);
if (pSolo.outFormat.featuresGeneField3!="-") {
geneStr <<'\t'<< pSolo.outFormat.featuresGeneField3;
if (pSolo.outFormat.featuresGeneField3 == "+")
geneStr <<'\t'<< (Trans.geBiotype[ii].empty() ? "MissingGeneType" : Trans.geBiotype[ii]);
else
geneStr <<'\t'<< pSolo.outFormat.featuresGeneField3;
};
geneStr << '\n';
};
Expand Down
2 changes: 1 addition & 1 deletion source/parametersDefault
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ soloCellFilter CellRanger2.2 3000 0.99 10
The harcoded values are from CellRanger: 3000 0.99 10 45000 90000 500 0.01 20000 0.01 10000

soloOutFormatFeaturesGeneField3 "Gene Expression"
string(s): field 3 in the Gene features.tsv file. If "-", then no 3rd field is output.
string(s): field 3 in the Gene features.tsv file. If "+", then GeneBiotype is used. If "-", then no 3rd field is output.

soloCellReadStats None
string: Output reads statistics for each CB
Expand Down