-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make_snps
parameter generates empty output
#13
Comments
Hi @bounlu, Thanks! |
Hi Mareike, Unfortunately not, it seems the tool is not maintained anymore either. So I switched using BISCUIT. |
Thanks for the quick reply! |
The reply is not correct. The tool is maintained but this issue was
missed. The SNP extraction works correctly (we use it in house regularly)
if the SNP indexes are correctly set up; if there is a bug it is probably
with insufficient notification of errors in the index generation phase.
Was the dbSNP index file generated?
Simon
…On Tue, Oct 17, 2023 at 3:56 PM MareikeJaniak ***@***.***> wrote:
Thanks for the quick reply!
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY465ZW3TKUQEEBPQ5CHITX72FAVAVCNFSM55R2QMBKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGY2DOMZVGU2Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi Simon, Thanks for confirming that the tool is still maintained. We're currently building it into our methylation analysis pipeline, so glad to hear that! All other steps are working well, we're just running into the issue with the snp file. The dbSNP index file is generated and is not empty (~4.2G) but the output file includes this line, which suggests that maybe something is going wrong?
Is this expected or are 0 snps actually being selected? Best, |
You can use the --maf-limit option to dbsnp_index to select SNPs with MAF
above the threshold to be selected. Alternatively you can use the
--selected option to dbsnp_index to supply a file with a list of SNPs to be
selected (one name per line).
If you are invoking dbsnp_index from within gemBS-rs then I think only the
--selected option is exposed as --dbsnp-selected (i.e., gemBS index
--dbsnp-selected <file with SNP names>)
Another area that can cause problems is if the contig name in the reference
file do not match the contig names in the genome reference (i.e., if one
used chr1, chr2 and the other uses 1, 2 etc.). In this case
the --dbsnp-chrom-alias option to gemBS index can be used to translate the
contig names.
Simon
…On Tue, Oct 17, 2023 at 4:17 PM MareikeJaniak ***@***.***> wrote:
Hi Simon,
Thanks for confirming that the tool is still maintained. We're currently
building it into our methylation analysis pipeline, so glad to hear that!
All other steps are working well, we're just running into the issue with
the snp file.
The dbSNP index file is generated and is not empty (~4.2G) but the output
file includes this line, which suggests that maybe something is going wrong?
/lb/project/mugqic/analyste_dev/software/gemBS-rs/bin/dbsnp_index --loglevel info --threads 1 --output /lb/project/mugqic/projects/mjaniak/test/methylseq/alignment/index/dbSNP_gemBS.idx /cvmfs/soft.mugqic/CentOS6/genomes/species/Homo_sapiens.GRCh38/annotations/Homo_sapiens.GRCh38.dbSNP156.vcf.gz
n_snps 890444194, n_selected_snps 0
Is this expected or are 0 snps actually being selected?
Best,
Mareike
—
Reply to this email directly, view it on GitHub
<#13 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAY465ZK7F3NE4BETSJS673X72HQHAVCNFSM55R2QMBKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGY2TCNJRGI4Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi Simon, Good to hear that it's still maintained. I have 2 more issues pending reply, could you please help me with those as well? I will later check your suggestions on this issue. Also it would greatly help if you can share your in-house config file. Thanks. |
I have set
make_snps = True
at theextract
step in theconfig
file as below to get SNP output. Although it runs the process and generates the specified*_snps.txt.gz
file, it is empty and there is no error code. It seems there is a bug with writing the output to the file.The text was updated successfully, but these errors were encountered: