Closed Francii-B closed 9 months ago
What happens if you run echo -e "\x1b[36mcluster_slurm\x1b[m"
?
It works because echo
does not interpret backslash escapes by default on Fedora v.39
This is actually quite interesting. Apparently, on Mac the color codes are not used at all from some reason. (That's why we haven't seen any error).
@Francii-B Could you please run the following command?
grep -hE '^\S*(:.*)?##' Makefile
My output is
######################
## General commands ##
######################
all: ## Run everything (the default rule)
test: ## Quick test using 3 batches
help: ## Print help messages
clean: ## Clean intermediate search files
cleanall: clean ## Clean all generated and downloaded files
####################
## Pipeline steps ##
####################
conda: ## Create the conda environments
download: ## Download the assemblies and COBS indexes
download_asms: ## Download only the assemblies
download_cobs: ## Download only the COBS indexes
match: ## Match queries using COBS (queries -> candidates)
map: ## Map candidates to assemblies (candidates -> alignments)
###############
## Reporting ##
###############
viewconf: ## View configuration without comments
report: ## Generate Snakemake report
##########
## Misc ##
##########
cluster_slurm: ## Submit to a SLURM cluster
cluster_lsf_test: ## Submit the test pipeline to LSF cluster
cluster_lsf: ## Submit to LSF cluster
format: ## Reformat Python and Snakemake files
and I assume yours will be quite different
@karel-brinda I get the same output as yours:
######################
## General commands ##
######################
all: ## Run everything (the default rule)
test: ## Quick test using 3 batches
help: ## Print help messages
clean: ## Clean intermediate search files
cleanall: clean ## Clean all generated and downloaded files
####################
## Pipeline steps ##
####################
conda: ## Create the conda environments
download: ## Download the assemblies and COBS indexes
download_asms: ## Download only the assemblies
download_cobs: ## Download only the COBS indexes
match: ## Match queries using COBS (queries -> candidates)
map: ## Map candidates to assemblies (candidates -> alignments)
###############
\## Reporting ##
###############
viewconf: ## View configuration without comments
report: ## Generate Snakemake report
##########
## Misc ##
##########
cluster_slurm: ## Submit to a SLURM cluster
cluster_lsf_test: ## Submit the test pipeline to LSF cluster
cluster_lsf: ## Submit to LSF cluster
format: ## Reformat Python and Snakemake files
ANSI escape codes in the output of
make help
command are not being interpreted and this is what I get:I am running the code on Fedora v.39.