Skip to content

REF_AA not consistent with actual AA at the position from reference protein fasta file #172

Description

@Shawn-X-Zhang

Hello,
I used samtools mpileup and ivar variants to identify codon and amino acid changes in assembled genomes with reference genome and .gff3 files. It turned out the codon and amino acid listed in the .tsv file don't match the actual codon and amino acid in reference CDS and protein fasta files.
Below is the command I used:
mpi_cmd_str = f'samtools mpileup -aa -A -d 20000 -B -Q 0 {sample}.sorted.bam '
ivar_cmd_str = f'ivar variants -p mutations -q 30 -t 0.03 -r {ref_file} -g {gff_file}'
cmd_str = mpi_cmd_str + " | " + ivar_cmd_str
os.system(cmd_str)

As an example, in the excel screenshot below you can find the sequence validation for SARS-CoV-2 ORF1ab.
screenshot
Any suggestion?
Thank you very much!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions