Skip to content
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

Issue in unite funtion #326

Open
Anjaligarg006 opened this issue Aug 27, 2024 · 7 comments
Open

Issue in unite funtion #326

Anjaligarg006 opened this issue Aug 27, 2024 · 7 comments

Comments

@Anjaligarg006
Copy link

Anjaligarg006 commented Aug 27, 2024

I am trying the unite large samples after filtering its seem fine, but after unite chromosome and strand column are showing meta character instead of name
chr start end strand coverage1 numCs1 numTs1 coverage2
3500000 \037 384725 384725 15 14 1 14
3500001 - 387067 387067 21 13 8 17
3500002 # 389072 389072 18 12 6 11
3500003 \b 391998 391998 22 21 1 27
3500004 + 391999 391999 \b 26 25 1 18
3500005 , 394729 394729 31 19 12 22

@alexg9010
Copy link
Collaborator

Hi @Anjaligarg006 ,

Could you please post more details? What code did you run? Are you using in-memory or tabix-based objects? Which version of methylKit are you using?

Best,
Alex

@Anjaligarg006
Copy link
Author

Anjaligarg006 commented Aug 27, 2024

Hi,this is. my code
`
methobj=methRead(file_list,
sample.id=as.list(sample_ids),
assembly="canFam4",
treatment=treatment_id,
context="CpG",
dbdir = "methyDB",dbtype="tabix",
pipeline = "bismarkCytosineReport")

#########################################

Filtering samples based on read coverage

filtered.methobj=filterByCoverage(methobj,lo.count=10,lo.perc=NULL,
hi.count=NULL,hi.perc=99.9)

merging samples

meth=methylKit::unite(filtered.methobj, destrand=FALSE)
`
I am using tabix-based object and 1.30.0 version of methylkit.

@alexg9010
Copy link
Collaborator

alexg9010 commented Aug 27, 2024

The code looks fine to me, but the chromosome names seem off in the output you showed.
Could you please send a tiny subset of your data that recreates the issue.

Best would be a few hundred lines from the bismark cytosine reports, please make sure to include enough lines with CpG context.

@Anjaligarg006
Copy link
Author

Hi, When I am trying with two samples it is working fine. But when including more samples it shows meta characters in chromosome name column. Can you please help me with this?

@alexg9010
Copy link
Collaborator

Hi @Anjaligarg006,

Can you share some of the files that reproduce the issue?

Best,
Alex

@Anjaligarg006
Copy link
Author

@alexg9010 can you please share some email id so that I can share with you?

@alexg9010
Copy link
Collaborator

Please share it with alex dot gos90 at gmail dot com .

Best,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants