Clarification on bcftools csq BCSQ tag format
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- bioinformatics, documentation
Research direction
Start from the BCSQ example and layout described in this issue, then review the existing bcftools documentation for the BCSQ tag. Document the numbered fields, supported values, identifier semantics, and non-coding output behavior; done means the format and edge cases are explicit.
Written by the indexing model from the issue text.
Description
This is the only documentation I could find about the BCSQ layout:
# Two separate VCF records at positions 2:122106101 and 2:122106102
# change the same codon. This UV-induced C>T dinucleotide mutation
# has been annotated fully at the position 2:122106101 with
# - consequence type
# - gene name
# - ensembl transcript ID
# - coding strand (+ fwd, - rev)
# - amino acid position (in the coding strand orientation)
# - list of corresponding VCF variants
# The annotation at the second position gives the position of the full
# annotation
BCSQ=missense|CLASP1|ENST00000545861|-|1174P>1174L|122106101G>A+122106102G>A
it would be good if it could be made more explicit what each "column" is, and number them.
BCSQ=1|2|3|4|5|6
- consequence type (list those supported here?)
- gene name (is this the
Nametag in the GFF3 file for thetranscriptorgeneorCDSfeature? Should it be theIDtag?) - transcript ID (is this in the
IDtag of thetranscriptGFF feature withtranscript:prefix removed?) - coding strand (+, - ... what is it set to for
non_codingetc?) - amino acid position (maybe say it is
28Qif synon,164SAif double synon,528P>528Tfor non-syn etc) - vcf variant
[POS][REF]>[ALT]?
Maybe also document that if the CDS feature is absent (because it's a RNA type etc) then the output will be non_coding|NGK_RS01915||misc_RNA say -- but is this a bug? should it have column 5 blank and column 6 with the SNP in this feature?
- Dominant language
- C
- Stars
- 891
- Forks
- 277
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from samtools/bcftools
-
needs-feedback
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 45/100
-
htslib-dependent P2: Desirable
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
needs-feedback requires-test-case
Difficulty 3/5 1-2 days Newbie friendliness 55/100
All issues in samtools/bcftools
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100