convert_data
Convert inspected sequence data into BPP input files (bpp-seqs), writing seqfile, imap, stats, and loci tables using specified files and imap.
Instructions
Convert the inspected data into BPP input files (bpp-seqs).
Writes PREFIX.txt (the BPP seqfile), PREFIX.imap, PREFIX.stats.tsv and
PREFIX.loci.tsv, where PREFIX is out_prefix relative to the project.
Use the same files (globs allowed) and imap as inspect_data.
Options, all passed to bpp-seqs unchanged:
phasing(BAM/CRAM and gVCF input only): iupac | split | haploid | vcf. Ask the user whether their diploid data are phased; for vcf also givephased_vcf. It does not apply to alignments.reference: designate the reference FASTA explicitly.Locus filters (bpp-seqs defaults apply when omitted):
min_length,max_missing,min_snps,keep_invariant; read-based calling:min_bq,min_mq,min_dp,het_freq.overwrite: existing outputs are refused unless true. Ask the user first.
Read in the report: summary.n_loci_passed (also server.nloci) is the
nloci value for make_control_file; summary.failure_reasons and loci[]
say which loci were dropped and why; output_files names the files
written. Tell the user how many loci passed. Next: build_species_tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imap | Yes | ||
| files | Yes | ||
| min_bq | No | ||
| min_dp | No | ||
| min_mq | No | ||
| phasing | No | iupac | |
| het_freq | No | ||
| min_snps | No | ||
| overwrite | No | ||
| reference | No | ||
| min_length | No | ||
| out_prefix | Yes | ||
| phased_vcf | No | ||
| max_missing | No | ||
| keep_invariant | No |