2022-08-26 21:25:21 +01:00
|
|
|
# nextclade
|
|
|
|
|
|
|
|
> Bioinformatics tool for virus genome alignment, clade assignment and qc checks.
|
2024-02-19 16:36:25 +00:00
|
|
|
> More information: <https://docs.nextstrain.org/projects/nextclade/en/stable/user/nextclade-cli/index.html>.
|
2022-08-26 21:25:21 +01:00
|
|
|
|
2024-02-19 16:36:25 +00:00
|
|
|
- Align sequences to user provided [r]eference, [o]utputting the alignment to a file:
|
2022-08-26 21:25:21 +01:00
|
|
|
|
2024-02-19 16:36:25 +00:00
|
|
|
`nextclade run {{path/to/sequences.fa}} -r {{path/to/reference.fa}} -o {{path/to/alignment.fa}}`
|
|
|
|
|
|
|
|
- Create a [t]SV report, auto-downloading the latest [d]ataset:
|
|
|
|
|
|
|
|
`nextclade run {{path/to/fasta}} -d {{dataset_name}} -t {{path/to/report.tsv}}`
|
2022-08-26 21:25:21 +01:00
|
|
|
|
|
|
|
- List all available datasets:
|
|
|
|
|
|
|
|
`nextclade dataset list`
|
|
|
|
|
|
|
|
- Download the latest SARS-CoV-2 dataset:
|
|
|
|
|
|
|
|
`nextclade dataset get --name sars-cov-2 --output-dir {{path/to/directory}}`
|
|
|
|
|
|
|
|
- Use a downloaded [D]ataset, producing all [O]utputs:
|
|
|
|
|
2024-02-19 16:36:25 +00:00
|
|
|
`nextclade run -D {{path/to/dataset_dir}} -O {{path/to/output_dir}} {{path/to/sequences.fasta}}`
|
2022-08-26 21:25:21 +01:00
|
|
|
|
|
|
|
- Run on multiple files:
|
|
|
|
|
|
|
|
`nextclade run -d {{dataset_name}} -t {{path/to/output_tsv}} -- {{path/to/input_fasta_1 path/to/input_fasta_2 ...}}`
|
|
|
|
|
|
|
|
- Try reverse complement if sequence does not align:
|
|
|
|
|
|
|
|
`nextclade run --retry-reverse-complement -d {{dataset_name}} -t {{path/to/output_tsv}} {{path/to/input_fasta}}`
|