Skip to content

Commit

Permalink
cdhit-utility.c++
Browse files Browse the repository at this point in the history
    command options for PE added for cd-hit-est-2d
cdhit-common.h
    version 4.6 => 4.7
  • Loading branch information
liwz authored and liwz committed Apr 28, 2017
1 parent af7fd63 commit b0325c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cdhit-common.h
Expand Up @@ -39,7 +39,7 @@
#include<vector>
#include<map>

#define CDHIT_VERSION "4.6"
#define CDHIT_VERSION "4.7"

#ifndef MAX_SEQ
#define MAX_SEQ 655360
Expand Down
9 changes: 9 additions & 0 deletions cdhit-utility.c++
Expand Up @@ -26,6 +26,10 @@ char txt_option_j[] =
\t -i R1.fa -j R2.fa -o output_R1 -op output_R2 \n";
char txt_option_i_2d[] = "\tinput filename for db1 in fasta format, required\n";
char txt_option_i2[] = "\tinput filename for db2 in fasta format, required\n";
char txt_option_j2[] =
"\tinput filename in fasta/fastq format for R2 reads if input are paired end (PE) files\n \
\t -i db1-R1.fq -j db1-R2.fq -i2 db2-R1.fq -j2 db2-R2.fq -o output_R1 -op output_R2 or\n \
\t -i db1-R1.fa -j db1-R2.fa -i2 db2-R1.fq -j2 db2-R2.fq -o output_R1 -op output_R2 \n";
char txt_option_o[] = "\toutput filename, required\n";
char txt_option_op[] = "\toutput filename for R2 reads if input are paired end (PE) files\n";
char txt_option_c[] =
Expand Down Expand Up @@ -276,7 +280,9 @@ int print_usage_est_2d (char *arg) {
cout << "Usage: "<< arg << " [Options] \n\nOptions\n\n";
cout << " -i" << txt_option_i_2d;
cout << " -i2"<< txt_option_i2;
cout << " -j, -j2"<< txt_option_j2;
cout << " -o" << txt_option_o;
cout << " -op" << txt_option_op;
cout << " -c" << txt_option_c;
cout << " -G" << txt_option_G;
cout << " -b" << txt_option_b;
Expand All @@ -298,6 +304,9 @@ int print_usage_est_2d (char *arg) {
cout << " -uS" << txt_option_uS;
cout << " -U" << txt_option_U;
cout << " -B" << txt_option_B;
cout << " -P" << txt_option_P;
cout << " -cx"<< txt_option_cx;
cout << " -cy"<< txt_option_cy;
cout << " -p" << txt_option_p;
cout << " -g" << txt_option_g;
cout << " -r" << txt_option_r;
Expand Down

0 comments on commit b0325c1

Please sign in to comment.