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

Adding gene file to HiCPlotter "missing values" issue #32

Open
awezmm opened this issue Oct 24, 2018 · 5 comments
Open

Adding gene file to HiCPlotter "missing values" issue #32

awezmm opened this issue Oct 24, 2018 · 5 comments

Comments

@awezmm
Copy link

awezmm commented Oct 24, 2018

I input a triple sparse matrix as my hic file data. However that triple sparse matrix file represents a specific part in the genome. I then try to use -g flag to add my bed file with gene locations and I get the error:

Gene File (mm9-7-12-2016.bed) has some missing values

The bed file has locations of genes throughout the whole genome. However, my sparse matrix file has hic data only for a specific area in the the genome at a certain resolution. I extract my sparse file data using the straw program provided here: https://github.com/aidenlab/straw/wiki/CPP

I also use the -s and -e flags to match the same start and end positions.

Is the discrepancy in locations between the bed file and the sparse file the reason I am getting the error, and is there any way around it?

Thanks

@akdemirlab
Copy link
Owner

Hi,

I think it's most likely there are no genes within genomic region determined with the -s and -e parameter. I would change those parameters to see if it's the case. Otherwise, the chromosome names within your gene file might not be matching with the sparse matrix file.

Best - kadir

@EGeorgia
Copy link

Hello,

I am also having the same problem (again with a sorted mm9 bedfile) I have altered my -s and -e parameters but still get the same error message. I have tried with your data/hg19.RefSeq.sorted.bed and this works fine.

Is there anything else I could try to make this work?

Best,
Emily

@akdemirlab
Copy link
Owner

Hi Emily,

Chromosome names should start with "chr" in the bedGraph files such as chr1,chr2 instead of 1,2,3,...,X. Can you check if that's the issue with your mm9 file?
If not, please copy some parts of your file so I'll try to see if the issue is with something else.

Best - Kadir

@EGeorgia
Copy link

EGeorgia commented Mar 1, 2019

Hi Kadir,

Thanks for getting back to me. Yes I have that column in the correct format, I've attached my file - if you could have a look for me that would be great!

Many thanks,
Emily

mm9_genes_sorted3.bed.gz

@akdemirlab
Copy link
Owner

Hi Emily,

Your file seems fine - I couldnt find any formatting difference between it and data/hg19.RefSeq.sorted.bed file.
Just to be sure: do you have the right resolution or if you remove -s and -e parameters, do you still experience the problem?

I can try to assist further if you copy an example of none-working commands.

Best - Kadir

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

3 participants