Comments (3)
Hi Stephan
Just to be sure:
- You computed variants from reads, wherever they come from, with discoSnp++.
- You mapped the obtained .fasta file on reference genome A with VCF_creator
- You mapped the same .fasta file on reference genome B, again with VCF_creator.
If this is the case, yes the variant ids are computed during step 1/. They appear in the prefix_[un]coherent.fa files. The downstream computations conserve those ids.
I hope this helps.
Pierre
from discosnp.
Thank you.
And for this case:
we have a more than a unique snp, syntax in fasta is higher_path_XXXXX....P1_pos....P2_pos
In VCF file the ID is then XXXXX_1 and XXXXX_2 (if both match)
But if the SNP matches on position 1 in reference genome A and the same SNP matches on position 2 in reference genome B, the ID names are no longer comparable. In both vcf files they are called XXXXX, and not XXXXX_1 and XXXXX_2. Am I correct in assuming?
from discosnp.
Hi Stephan.
Sorry for the delay.
I'm not quite sure to understand your question.
After mapping the predicted variants on a reference, one obtains a vcf file that conserves the ids. For instance (this is in large_test directory), one finds this lines in the vcf:
humchr1 3483342 994_1 C G . PASS Ty=SNP;Rk=0;UL=977;UR=4834;CL=5893;CR=4834;Genome=.;Sd=1 GT:DP:PL:AD:HQ 0|1:43:229,17,409:26,17:0,0
humchr1 3483361 994_2 G A . PASS Ty=SNP;Rk=0;UL=977;UR=4834;CL=5893;CR=4834;Genome=.;Sd=1 GT:DP:PL:AD:HQ 0|1:43:229,17,409:26,17:0,0
Here we can see 994_1 and 994_2 mapped on the reference genome. If we map reads on another reference genome, one gets a second vcf file, with variant ids conserved.
This helps?
from discosnp.
Related Issues (20)
- problem running disco snp HOT 8
- compatibility with HiFi reads HOT 3
- Mixing of 0-based and 1-based position in the outputed vcf file of DiscoSNP++ HOT 6
- Using Disco SNP to find sex markers; calling on a cohort with males and females HOT 1
- Requires python3 but calls python2 HOT 1
- DiscoSnp VCF record; Ref allele does not match Assembly Used HOT 8
- Type of Variant (Ty) format error in .vcf HOT 1
- Options for .vcf filtering HOT 1
- Problem running discoSnpRad HOT 4
- Call to python 2 in run_discoSNP++.sh HOT 2
- EXCEPTION: cannot open ./trashme_3684_dsk_partitions_gatb/parts.360 HOT 4
- Problem with VCF creation: an error occurred in determining the filter of close snps (an unmapped SNP is "PASS") HOT 3
- Multiple reference alleles output HOT 3
- error: there was a problem with readFileName Dumping HOT 3
- error: there was a problem with readFileName Dumping HOT 2
- Trouble filtering with vcftools HOT 2
- Equivalent information between discosnp and STACKS2 HOT 8
- Unable to open VCF file in IGV - SAMPLE metainformation line HOT 3
- Nucleotide diversity from DiscoSnp HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discosnp.