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

bed12ToBed6 assumes stdin.

parent 96631891
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,8 @@ int main(int argc, char* argv[]) {
bool showHelp = false;
// input files
string bedFile;
bool haveBed = false;
// check to see if we should print out some help
if(argc <= 1) showHelp = true;
string bedFile = "stdin";
bool haveBed = true;
for(int i = 1; i < argc; i++) {
int parameterLength = (int)strlen(argv[i]);
......@@ -65,7 +62,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