Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelsted committed Mar 20, 2017
1 parent fc790e2 commit 1e0e112
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ CTestTestfile.cmake
*.orig
debug/
release/
.vscode/
11 changes: 6 additions & 5 deletions src/Fusion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@

/**
FUSION output is written to OUT_DIR/fusion.txt where 'OUT_DIR' is the specified
output directory for kallisto. fusion.txt is a tab separated text file with 6 columns
TYPE SEQ1 SEQ2 INFO POS1 POS2
output directory for kallisto. fusion.txt is a tab separated text file with 10 columns
TYPE NAME1 SEQ1 KPOS1 NAME2 SEQ2 KPOS2 INFO POS1 POS2
TYPE can be one of SPLIT or PAIR, SEQ1 and SEQ2 are the raw read sequences identified
as overlapping the potential fusion.
TYPE can be one of SPLIT or PAIR, NAME1 and NAME2 are the sequence identifiers.
SEQ1 and SEQ2 are the raw read sequences identifie as overlapping the potential fusion.
KPOS1 and KPOS2 are the positions within the reads where the k-mers match.
PAIRs are readpairs where fragment doesn't map, but each read
maps independently, potentially the fusion breakpoint is within the fragment, but not sequenced.
SPLITs are reads where the fusion breakpoint appears within one of the reads
INFO is empty for PAIR but of the form splitat=(a,b)
INFO is NA for PAIR but of the form splitat=(a,b)
where a=0,1 indicating whether the first or the second pair is split and b is the 0-based position of the
split within the read.
Expand Down
2 changes: 1 addition & 1 deletion src/ProcessReads.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class MasterProcessor {
}
if (opt.fusion) {
ofusion.open(opt.output + "/fusion.txt");
ofusion << "TYPE\tSEQ1\tSEQ2\tINFO\tPOS1\tPOS2\n";
ofusion << "TYPE\tNAME1\tSEQ1\tKPOS1\tNAME2\tSEQ2\tKPOS2\tINFO\tPOS1\tPOS2\n";
}

}
Expand Down
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,8 @@ void usagePseudo(bool valid_input = true) {
<< " --single Quantify single-end reads" << endl
<< "-l, --fragment-length=DOUBLE Estimated average fragment length" << endl
<< "-s, --sd=DOUBLE Estimated standard deviation of fragment length" << endl
<< " (default: value is estimated from the input data)" << endl
<< " (default: -l, -s values are estimated from paired" << endl
<< " end data, but are required when using --single)" << endl
<< "-t, --threads=INT Number of threads to use (default: 1)" << endl
<< " --pseudobam Output pseudoalignments in SAM format to stdout" << endl;

Expand Down

0 comments on commit 1e0e112

Please sign in to comment.