longphase

Phase small variants and haplotag long-read DNA sequencing BAM files using LongPhase

usage

nexus run --nf-workflow haplotagging_longphase.nf \
    -c nextflow.config \
    -w work/ \
    --samples_tsv_file samples.tsv \
    --output_dir results/ \
    --reference_genome_fasta_file /path/to/file.fasta \
    --params_longphase_phase "--ont" \
    --params_longphase_haplotag ""
Note

Nextflow config files are available here. Use the config file that matches your installed nexus version (e.g. nexus_v0.2.0_nextflow_slurm.config).

parameters

parameter description
--samples_tsv_file TSV file with the following columns: ‘sample_id’, ‘bam_file’, ‘bam_bai_file’, ‘small_variants_vcf_file’
--output_dir Directory to which output files will be copied.
--reference_genome_fasta_file Reference genome FASTA file.
--params_longphase_phase LongPhase ‘phase’ parameters (default: ‘“--ont”’). Set to ‘--pb’ (PacBio HiFi/CCS) or ‘--ont’ (Oxford Nanopore) to match the sequencing platform. Note that the parameters need to be wrapped in quotes.
--params_longphase_haplotag LongPhase ‘haplo tag’ parameters (default: ‘““’). longphase haplotag has no platform flag — leave empty unless passing other options. Note that the parameters need to be wrapped in quotes.