Skip to content

Commit

Permalink
Changed the README and fixed isON_pipeline.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aljpetri committed Jan 24, 2024
1 parent ac45072 commit 62b125c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br />
## Input data <a name="Input_data"></a>
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 <a name="Running"></a>

Expand All @@ -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 <raw_reads.fq> <outfolder> <num_cores> <isONform_folder> <iso_abundance> <mode>
./isON_pipeline.sh --raw_reads </absolute/path/to/raw_reads.fq> --outfolder <outfolder> --num_cores <num_cores> --isONform_folder <isONform_folder> --iso_abundance <iso_abundance> --mode <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 <a name="Outputs"></a>
IsONform outputs three main files: transcriptome.fasta, mapping.txt, and support.txt.
Expand Down
5 changes: 1 addition & 4 deletions isON_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 62b125c

Please sign in to comment.