Comments (4)
This should work, in general.
I just created a MWE based on our bed line:
File peaks.bed has one line:
chr2L 9180 9200 0.095
(just as you posted, but tab-separated)
File chr.fai has one line:
chr2L 10000 0 0 0
With those, I called the labels tool:
java -jar Catchitt-0.1.3.jar labels c=peaks.bed r=peaks.bed f=chr.fai b=50 rw=50
As output, I get a file Labels.tsv.gz with mostly "U" labels as you reported. However, there is also one "S" label as would be expected from the input and arguments of the call to labels
chr2L 9050 U
chr2L 9100 U
chr2L 9150 S
chr2L 9200 U
chr2L 9250 U
because only the 50 bp bin from 9150 to 9200 overlaps with the peak from the bed file.
Could you please check that our output does indeed not contain any labels different from "U"?
Besides, you should make sure that these are indeed peaks from a ChIP-seq experiment (or this input at least makes sense for your use case).
A peak width of 20 bp seems to be rather narrow.
from jstacs.
The .bedgraph file is from chip-seq data (description: 'Bedgraph files are 20 bp bins of reads from both replicates, scaled to reads-per-million of reads overlapping peak region' from https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSM3474126)
so there are no 'B' or 'S' labels in my 'label' output of catchitt for sure.
my .fai file has chromosome labels:
>NC_004354.4 Drosophila melanogaster chromosome 2L
while my chip seq bedgraph file looks like this:
chr2L 9180 9200 0.095
chr2L 9200 9220 0.19
chr2L 9220 9240 0.19
chr2L 9240 9260 0.19
...
is it possible the discrepancy in labeling (chromosome 2L vs chr2L) is the issue?
from jstacs.
You .fai file looks more like the header of a FastA file, especially with the line starting with ">".
And yes, the names of the sequences in the .fai must exactly match the sequence identifiers from the bed file.
(Same holds true for accessibility mapping files, etc. in later steps of Catchitt.)
from jstacs.
sorry ! that was the fasta file, the .fai file has labels like this "NC_004354.4" and NOT labels like in my chip file. face palm thank you
from jstacs.
Related Issues (20)
- java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.createBindings()" because "engine" is null HOT 4
- usage about the parameter of weight (w) HOT 4
- amino acid J found in input HOT 1
- GeMoMa Extractor Error: There are gene annotations on chromosomes/contigs with missing reference sequence HOT 2
- java.lang.IllegalArgumentException: At least two sequences with the same ID but different sequence: HOT 5
- Using RNA-seq from closely-related organism HOT 2
- GeMoMa expected runtime HOT 2
- How does GeMoMa treat masked nucleotides? HOT 1
- Problem when adding external evidence HOT 5
- cdsParts=true, but the ID (gene-si: )seems to be no CDS part HOT 1
- AnnotationFinalizer for renaming genes and transcripts HOT 2
- Exception in thread "main" java.lang.NullPointerException HOT 2
- Why does GeMoma annotationfianlizer remove the exon features ? HOT 1
- Could not open GeMoMa_temp/GeMoMaPipeline-9364982901453846136/mmseqsdb_h.index.5 for writing! HOT 2
- java.lang.OutOfMemoryError: Java heap space when using GeMoma HOT 21
- java.lang.InterruptedException HOT 1
- Use GeMoma with protein as reference, the result showed no predicted_proteins.fasta and final_annotation.gff HOT 13
- Result filtering HOT 4
- GeMoMa error HOT 8
- No gene model was extracted from the references. HOT 3
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 jstacs.