Skip to content

extract_phase_bcftools.sh #1

Description

@Ptero64

Hello,
I am trying to use your script to phase targeted genes form some samples. I followed your tutorial to generate the different files with GATK then whatshap. However I am not sure to really understand your script using bcftools consensus. (For now I am running the different .sh .py for 1 sample).
The script extract_phase_bcftools.sh is suppose to generate 1 fasta file per gene including 2 sequences (1 per allele; e.g. Sample-gene01.phased.fasta)?
But to run haplonerate.py I need the gtf file form whatshap and 2 fasta files containing sequences for 1 or more genes. So these input fasta are not the same that the output of extract_phase_bcftools.sh?

Thanks for the help.

Nicolas

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions