Skip to content
Snippets Groups Projects
Commit daf5815d authored by Aaron's avatar Aaron
Browse files

bedToBam assumes stdin.

parent c087a521
No related branches found
No related tags found
No related merge requests found
......@@ -50,19 +50,16 @@ int main(int argc, char* argv[]) {
bool showHelp = false;
// input files
string bedFile;
string bedFile = "stdin";
string genomeFile;
unsigned int mapQual = 255;
bool haveBed = false;
bool haveBed = true;
bool haveGenome = false;
bool haveMapQual = false;
bool isBED12 = false;
// check to see if we should print out some help
if(argc <= 1) showHelp = true;
for(int i = 1; i < argc; i++) {
int parameterLength = (int)strlen(argv[i]);
......@@ -81,7 +78,6 @@ int main(int argc, char* argv[]) {
if(PARAMETER_CHECK("-i", 2, parameterLength)) {
if ((i+1) < argc) {
haveBed = true;
bedFile = argv[i + 1];
i++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment