pip install isONform
This command installs isONforms dependencies:
networkx
ordered-set
matplotlib
parasail
edlib
pyinstrument
namedtuple
recordclass
Create a new environment for isONform (at least python 3.7 required):
conda create -n isonform python=3.10 pip
conda activate isonform
Install isONcorrect and SPOA
pip install isONcorrect
conda install -c bioconda spoa
Install other dependencies of isONform:
conda install networkx
pip install parasail
clone this repository
IsONform generates isoforms out of clustered and corrected long reads.
For this a graph is built up using the networkx api and different simplification strategies are applied to it, such as bubble popping and node merging.
The algorithm uses spoa to generate the final isoforms.
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 (Pacbio data) or Pychopper (ONT data) so that all the barcodes are removed from the reads
To only run the isONform algorithm:
isONform_parallel --fastq_folder path/to/input/files --t <nr_cores> --outfolder /path/to/outfolder --split_wrt_batches
Note: Please always use absolute paths to the files or folders
The full isON-pipeline (isONclust, isONcorrect, isONform) can be found here and is run via:
./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 and isONcorrect LINK to be installed in addition to isONform)
To receive more information about the arguments used for the isON_pipeline script:
./isON_pipeline.sh --help
IsONform outputs three main files: transcriptome.fasta, mapping.txt, and support.txt. For each isoform that isONform reconstructs the id has the following form: x_y_z.
'x' denotes the isONclust cluster that the isoform stems from. As we cluster reads as in isONcorrect in batches of 1000 reads the 'y' denotes from which batch the isoform was reconstructed. The 'z' denotes a unique identifier which enables us to have unique ids for each isoform that we reconstructed. In mapping.txt it is indicated from which original reads an isoform has been reconstructed. support_txt gives the support (i.e. how many original reads make up the isoform).
If you encounter any problems, please raise an issue on the issues page, you can also contact the developer of this repository via: alexander.petri[at]math.su.se
Please cite [1] when using isONform.
Please additionally cite [2] and [3] when running the full pipeline.