Comments (8)
Hi! I've encountered the same issue. Have you resolved this issue?
from fithic.
Hi, this is generally about file formatting and having wrong number of fields in one of the input files. I could help best if you paste a few of the lines from each input file.
from fithic.
I have an error while running fithic:
Command:
fithic -f 02_hicpro2fithic/fithic.fragmentMappability.gz -i 02_hicpro2fithic/fithic.interactionCounts.gz -t 02_hicpro2fithic/fithic.biases.gz -r 10000 -o 02_fithic_outputs
My input files are created by the hicpro2fithic.py of HiC-Pro_3.1.0 (version), and the output biases file (fithic.biases.gz) is blank every other line, but not in HiC-Pro_2.11.1 (versions). So I wonder if it's the version issue of subscripts (hicpro2fithic.py)?
input files: (hicpro2fithic.py of HiC-Pro_3.1.0)
zcat fithic.biases.gz | head
chr1 5000 -1
chr1 15000 -1
chr1 25000 -1
chr1 35000 -1
chr1 45000 -1
chr1 55000 -1
zcat fithic.fragmentMappability.gz | head
chr1 0 5000 0 0
chr1 10000 15000 0 0
chr1 20000 25000 0 0
chr1 30000 35000 0 0
chr1 40000 45000 0 0
chr1 50000 55000 0 0
zcat fithic.interactionCounts.gz | head
chr1 3005000 chr1 3005000 166
chr1 3005000 chr1 3015000 142
chr1 3005000 chr1 3025000 90
chr1 3005000 chr1 3035000 42
chr1 3005000 chr1 3045000 15
chr1 3005000 chr1 3055000 51
The following input files for fithic are error-free!
input files: (hicpro2fithic.py of HiC-Pro_2.11.1)
zcat fithic.biases.gz | head
chr1 5000 -1
chr1 15000 -1
chr1 25000 -1
chr1 35000 -1
chr1 45000 -1
chr1 55000 -1
So is it because of the version issue?
from fithic.
Blank lines will do it. Please remove all the blank lines and try. I will get in touch with HiCPro developers about this. Or you can post this on their github issues if you don't mind.
from fithic.
Thanks! It is error-free after removing all the blank lines, but how to avoid the blank lines in the output biases file (fithic.biases.gz) of hicpro2fithic.py from HiC-Pro_3.1.0 (python3)? That's what needs to be resolved.
from fithic.
I posted it on HiCpro github. They should take care of it soon, an extra \n in Line 87 of the script. Likely got introduced during Python 3 conversion.
from fithic.
Thanks! That's great!
from fithic.
thanks."zcat fithic.biases.gz | grep -v '^$' | gzip > fithic.biases2.gz"
from fithic.
Related Issues (20)
- HiCKRy.py KeyError: '0' HOT 5
- test run AttributeError HOT 1
- how to prepare my `input file`? HOT 2
- list index out of range HOT 2
- Difference between ICE and KR biases. Setting up the bias limits. HOT 5
- Out of 70041 loci 70041 were discarded with biases not in range [0.5 2] HOT 3
- merge_filter reduces significant interactions from 12M to 10k
- Any example of using .hic file as the input? HOT 2
- fragmentMid HOT 1
- FitHiC2 with replicates
- install problem HOT 6
- Does fithic work on single chromosome inputs?
- fithic "invalid syntax" HOT 1
- Questions about using .hic as input
- Question about calculation of ExpCC and contactcounts for another loop set
- "util" scripts missing from conda install HOT 1
- not enough values to unpack (expected 5, got 1) HOT 1
- About HiCPro2FitHiC.py error
- [Question] Does the read depth of the raw/iced matrix generated by HiCPro influence FitHiC2 loop calling? HOT 1
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 fithic.