Skip to content

Commit

Permalink
Disables hardcoding of cpus=5 during the test run so the user can spe…
Browse files Browse the repository at this point in the history
…ed up the test if wanted. Fixes #194
  • Loading branch information
patriciatran authored Jan 27, 2025
1 parent 3e6a73f commit 9723633
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions METABOLIC-C.pl
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ =head1 OPTIONS
-st or -sequencing-type [string] To use "illumina" (for Illumina short reads), or "pacbio" (for PacBio CLR reads), or "pacbio_hifi" (for PacBio HiFi/CCS genomic reads (v2.19 or later)), or "pacbio_asm20" (for PacBio HiFi/CCS genomic reads (v2.18 or earlier)), or "nanopore" (for Oxford Nanopore reads) to indicate the sequencing type of metagenomes or metatranscriptomes (default: 'illumina'; Note that all "illumina", "pacbio", "pacbio_hifi", "pacbio_asm20", and "nanopore" should be provided as lowercase letters and the underscore "_" should not be typed as "-" or any other marks)
-tax or -taxonomy [string] To calculate MW-score contribution of microbial groups at the resolution of which taxonomical level (default: "phylum"; other options: "class", "order", "family", "genus", "species", and "bin" (MAG itself))
-o or -output [string] The METABOLIC output folder (default: current address)
-test [string] The option to test the performance of METABOLIC-G by 5 genomes; "true" or "false" to run the test option. The test option will use 5 CPUs to run the command.
-test [string] The option to test the performance of METABOLIC-G by 5 genomes; "true" or "false" to run the test option. You can use the -cpu option in addition to the -test option to specify how many cpus to use.
=head1 INSTRUCTIONS
Expand Down Expand Up @@ -171,7 +171,6 @@ =head1 COPYRIGHT
if ($test eq "true"){
$input_genome_folder = "$METABOLIC_dir/METABOLIC_test_files/Guaymas_Basin_genome_files";
$output = "METABOLIC_out";
$cpu_numbers = "5";
$omic_reads_parameters = "$METABOLIC_dir/METABOLIC_test_files/Reads_address.txt";
}

Expand Down
3 changes: 1 addition & 2 deletions METABOLIC-G.pl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ =head1 OPTIONS
-kofam-db [string] to use the "small" size or "full" size of KOfam database in METABOLIC (default: 'full')
-p or -prodigal-method [string] "meta" or "single" for prodigal to annotate the orf
-o or -output [string] The METABOLIC output folder (default: current address)
-test [string] The option to test the performance of METABOLIC-G by 5 genomes; "true" or "false" to run the test option. The test option will use 5 CPUs to run the command.
-test [string] The option to test the performance of METABOLIC-G by 5 genomes; "true" or "false" to run the test option. You can use the -cpu option in addition to the -test option to specify how many cpus to use.
=head1 INSTRUCTIONS
Expand Down Expand Up @@ -153,7 +153,6 @@ =head1 COPYRIGHT
if ($test eq "true"){
$input_genome_folder = "$METABOLIC_dir/METABOLIC_test_files/Guaymas_Basin_genome_files";
$output = "METABOLIC_out";
$cpu_numbers = "5";
}

## Main Body
Expand Down

0 comments on commit 9723633

Please sign in to comment.