Skip to content

Commit 47f688d

Browse files
author
a_anil
committed
Fix spacing in output files
1 parent 7ced0a1 commit 47f688d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/Find_Interactions.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ void DetectInteractions::CalculatePvalAndPrintInteractionsProbeDistal(ProbeSet&
107107
std::ofstream outf2(FileName2.c_str());
108108

109109

110-
outf1 << "RefSeqName" << '\t' << "TranscriptName" << '\t' << "Feature_ID" << '\t' << "Probe_ID" << '\t' << "Feature Chr" << '\t' << "Feature Start" << '\t' << "Feature End" << '\t' << "Annotation" << '\t' << "Strand" << '\t';
110+
outf1 << "RefSeqName" << '\t' << "TranscriptName" << '\t' << "Feature_ID" << '\t' << "Probe_ID" << '\t' << "Feature_Chr" << '\t' << "Feature_Start" << '\t' << "Feature_End" << '\t' << "Annotation" << '\t' << "Strand" << '\t';
111111

112-
outf1 << "Interactor Chr" << '\t' << "Interactor Start" << '\t' << "Interactor End" << '\t' << "distance" ;
112+
outf1 << "Interactor_Chr" << '\t' << "Interactor_Start" << '\t' << "Interactor_End" << '\t' << "distance" ;
113113

114114
for (int e = 0; e < NumberofExperiments; ++e)
115115
outf1 << '\t'<< ExperimentNames[e] << "_SuppPairs" << '\t' << ExperimentNames[e] << "_p_value" ;
@@ -291,7 +291,7 @@ void DetectInteractions::CalculatePvalAndPrintInteractionsProbeDistal(ProbeSet&
291291
<< featiter->second.chr << '\t' << featiter->second.start << '\t' << featiter->second.end << '\t'
292292
<< featiter->second.FeatureType << '\t' << featiter->second.strand << '\t';
293293

294-
outf1 << itx->maptochrname << '\t' << itt->first << '\t' << itt->second.refragend << '\t' << -1 << '\t';
294+
outf1 << itx->maptochrname << '\t' << itt->first << '\t' << itt->second.refragend << '\t' << -1 ;
295295

296296
//WashU
297297
int wStart, wEnd;
@@ -551,10 +551,9 @@ void DetectInteractions::CalculatePvalAndPrintInteractionsProbeDistal_NegCtrls(P
551551
washUFileName.append(".txt");
552552
std::ofstream outf3(washUFileName.c_str());
553553
***/
554-
outf2 << "RefSeqName" << '\t' << "TranscriptName" << '\t' << "Feature_ID" << '\t' << "Probe_ID" << '\t' << "Feature Chr" << '\t' << "Feature Start" << '\t' << "Feature End" << '\t' << "Annotation" << '\t' << "Strand" << '\t';
554+
outf2 << "RefSeqName" << '\t' << "TranscriptName" << '\t' << "Feature_ID" << '\t' << "Probe_ID" << '\t' << "Feature_Chr" << '\t' << "Feature_Start" << '\t' << "Feature_End" << '\t' << "Annotation" << '\t' << "Strand" << '\t';
555555

556-
557-
outf2 << "Interactor Chr" << '\t' << "Interactor Start" << '\t' << "Interactor End" << '\t' << "distance" ;
556+
outf2 << "Interactor_Chr" << '\t' << "Interactor_Start" << '\t' << "Interactor_End" << '\t' << "distance" ;
558557
for (int e = 0; e < NumberofExperiments; ++e)
559558
outf2 << '\t'<< ExperimentNames[e] << "_SuppPairs" << '\t' << ExperimentNames[e] << "_p_value";
560559
outf2 << std::endl;

0 commit comments

Comments
 (0)