Usage ===== HmnFusion is designed to analyze some panel of genes sequenced with the aCAP-Seq library and performs with a high sensitivity and specificity `10.1016/j.jmoldx.2022.07.004 `_ Steps ----- 1. BAM files are analyzed by `Lumpy `_ and `Genefuse `_ 2. The results are aggregated by HmnFusion 3. Now you can calculate the fusion frequency and you can define the MMEJ sequence These steps involved one or more commands. A workflow is available to grouped these commands into one command. How to start with HmnFusion --------------------------- It depends what you have: * If you have FASTQ files, you need first to create BAM files, please go to `Create BAM files`_ * If you have FASTQ, BAM files, please go to `Fusion callers`_ * If you have FASTQ, BAM files, HTML of JSON from Genefuse and VCF from Lumpy, please go to `Fusion frequency`_ or `MMEJ sequences`_ Questions about extra files: hg19 reference, BED files ? please read the :doc:`FAQ `. Create BAM files ---------------- It's only available through ``docker`` .. code-block:: console $ docker run -it \ --rm \ hmnfusion-align:latest \ workflow-align \ --input-forward-fastq \ --input-reverse-fastq \ --output-directory \ --threads 4 Fusion callers -------------- It will run Genefuse, Lumpy and HmnFusion, to detect and quantify fusions. .. code-block:: console $ hmnfusion workflow-fusion \ # Sample --name \ --input-forward-fastq \ --input-reverse-fastq \ --input-sample-bam \ # Bed --input-genefuse-bed \ --input-lumpy-bed \ --input-hmnfusion-bed \ # Reference --input-reference-fasta \ # Output --output-hmnfusion-vcf \ --output-genefuse-html \ --output-lumpy-vcf \ --threads [1-6] Fusion frequency ---------------- It will extract fusions from Genefuse and Lumpy to quantify them. .. code-block:: console $ hmnfusion workflow-fusion \ # Sample --input-lumpy-vcf \ --input-genefuse-json OR --input-genefuse-html \ --input-sample-bam \ --name \ # Bed --input-hmnfusion-bed \ # Output --output-hmnfusion-vcf MMEJ sequences -------------- Define fusions of interest. .. code-block:: console $ hmnfusion extractfusion \ # Sample --input-genefuse-json \ --input-genefuse-html \ --input-lumpy-vcf \ # Bed --input-hmnfusion-bed \ # Output --output-hmnfusion-json Extract MMEJ sequences. .. code-block:: console $ hmnfusion mmej-fusion \ # Sample --input-hmnfusion-json \ --input-sample-bam \ --name \ # References --input-reference-fasta \ # Output --output-hmnfusion-xlsx \ --output-hmnfusion-json