conda create -n SALSA python=2.7 #Create the SALSA environment and install python 2.7
source activate SALSA #Activate the SALSA environment
conda install boost networkx==1.11 #Install boost and networkx v1.1
cd SALSA-master #move to the SALSA-master folder
make #compile the code
Due to this line
cc1plus: error: unrecognized command line option "-std=c++11",
I checked the version of my g++ by typing
g++ --version.
I got the message
g++ (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
usage: run_pipeline.py [-h] -a ASSEMBLY -l LENGTH -b BED [-o OUTPUT]
[-c CUTOFF] [-g GFA] [-u UNITIGS] [-e ENZYME]
[-i ITER] [-x DUP] [-s EXP] [-m CLEAN]
SALSA Iterative Pipeline
optional arguments:
-h, --help show this help message and exit
-a ASSEMBLY, --assembly ASSEMBLY
Path to initial assembly, headers must not contain ':'
-l LENGTH, --length LENGTH
Length of contigs at start
-b BED, --bed BED Bed file of alignments sorted by read names
-o OUTPUT, --output OUTPUT
Output directory to put results
-c CUTOFF, --cutoff CUTOFF
Minimum contig length to scaffold, default=1000
-g GFA, --gfa GFA GFA file for assembly
-e ENZYME, --enzyme ENZYME
Restriction Enzyme used for experiment
-i ITER, --iter ITER Number of iterations to run, default = 3
-x DUP, --dup DUP File containing duplicated contig information
-s EXP, --exp EXP Expected Genome size of the assembled genome
-m CLEAN, --clean CLEAN
Set this option to "yes" if you want to find
misassemblies in input assembly
Greetings of the season.
Here is the history of my installation process.
I got this message
Due to this line
cc1plus: error: unrecognized command line option "-std=c++11"
,I checked the version of my g++ by typing
g++ --version
.I got the message
I updated the compiler by typing:
I compiled again but I got the same message
However, I checked the program by running:
And I got the message:
How can I fix this issue
Which version compiler is required?
Sincerely Yours.