diff --git a/README.md b/README.md
index 1da166d..25226e0 100644
--- a/README.md
+++ b/README.md
@@ -49,7 +49,7 @@ For this a graph is built up using the networkx api and different simplification
The algorithm uses spoa to generate the final isoforms.
## Input data
The isONpipeline takes .fastq files generated with long-read sequencing techniques (ONT or Pacbio) as an input that additionally have been cleaned of barcodes.
-Please make sure that you run the isONpipeline on data that have been processed with * [LIMA](https://lima.how/) (Pacbio data) or *[Pychopper](https://github.com/epi2me-labs/pychopper) (ONT data) so that all the barcodes are removed from the reads
+Please make sure that you run the isONpipeline on data that have been processed with [LIMA](https://lima.how/) (Pacbio data) or [Pychopper](https://github.com/epi2me-labs/pychopper) (ONT data) so that all the barcodes are removed from the reads
## Running isONform
@@ -65,9 +65,9 @@ Note: Please always give absolute paths to the files or folders
The full isON-pipeline (isONclust, isONcorrect, isONform) can be found [here](https://github.com/aljpetri/isONform/blob/master/isON_pipeline.sh) and is run via:
```
-./full_pipeline.sh
+./isON_pipeline.sh --raw_reads --outfolder --num_cores --isONform_folder --iso_abundance --mode
```
-(Please note that this requires isONclust [LINK] (https://github.com/ksahlin/isONclust) and isONcorrect [LINK](https://github.com/ksahlin/isONcorrect) to be installed in addition to isONform)
+(Please note that this requires isONclust [LINK](https://github.com/ksahlin/isONclust) and isONcorrect [LINK](https://github.com/ksahlin/isONcorrect) to be installed in addition to isONform)
## Outputs
IsONform outputs three main files: transcriptome.fasta, mapping.txt, and support.txt.
diff --git a/isON_pipeline.sh b/isON_pipeline.sh
index 774ebb3..2cf7022 100755
--- a/isON_pipeline.sh
+++ b/isON_pipeline.sh
@@ -49,10 +49,7 @@ while [ $# -gt 0 ]; do
# Extract the option name by removing the leading dashes
v="${1/--/}"
# Check if the argument for this option was left empty (then we would have the next argument name as next entry)
- if [[ $2 == "--"* ]]; then
- # The argument was left empty therefore we leave the argument for the option empty
- declare "$v"=''
- else
+ if [[ $2 != "--"* ]]; then
#The argument was not left empty, therefore we properly set the argument as the value for option
declare "$v"="$2"
#We have to shift only in this case