view pangolin_2.x.xml @ 0:a12ffc700e29 draft default tip

"planemo upload"
author iss
date Sun, 11 Apr 2021 07:04:18 +0000
line wrap: on
line source

<tool id="pangolin" name="PANGOLIN" version="2">
    <description>Phylogenetic Assignment of Named Global Outbreak LINeages</description>
        <requirement type="package" version="2">pangolin</requirement>
        <exit_code range="1:" level="fatal" description="Tool exception" />
        <exit_code range=":-1" level="fatal" description="Tool exception" />
    <version_command>pangolin --version</version_command>
    pangolin $query --min-length $minlength --max-ambig $maxambig --threads $threads --alignment
        <param name="query" format="fasta" type="data" label="Query fasta file of sequences to analyse" />
        <param name="minlength" argument="--min-length" type="integer" value="10000" label="Minimum query length allowed for pangolin to attempt assignment"/>
        <param name="maxambig" argument="--max-ambig" type="float" min="0" max="1" value="0.5" label="Maximum proportion of Ns allowed for pangolin to attempt assignment"/>
        <param name="threads" argument="--threads" type="integer" value="1" label="Number of threads"/>

		<data format="csv" name="lineage" from_work_dir="lineage_report.csv" label="${} on ${on_string}: lineage" />
		<data format="csv" name="alignment" from_work_dir="sequences.aln.fasta" label="${} on ${on_string}: alignment" />

            <param name="query" value="test_consensus.fasta" />
            <output name="lineage">
                    <has_text text="C.11" />
                    <has_text text="passed_qc" />
**PANGOLIN** stands for "Phylogenetic Assignment of Named Global Outbreak LINeages".

pangolin runs a multinomial logistic regression model trained against lineage assignments based on GISAID data.
      <citation type="bibtex">@ARTICLE{andrews_s,
            author = {O'Toole, A and McCrone, J and Scher, E},
            keywords = {bioinformatics, ngs, coronavirus},
            title = {{Phylogenetic Assignment of Named Global Outbreak LINeages}},
            url = {}