Comments (8)
Nice, sounds good. Just important for it to handle absolute and relative paths. Thank you!
from chromosight.
Hi, this has been addressed in #28, I'll make a release soon when checks have passed :)
from chromosight.
Hi @Phlya ,
Yes, I could add like a --prefix
option. In a snakemake workflow, the output filenames would currently be:
output:
tbl = "{sample}/loops_out.txt",
win = "{sample}/loops_out.json"
whereas with a --prefix
option, it would become:
output:
tbl = "{sample}.txt",
win = "{sample}.json"
Do you think the latter option would be more convenient to work with ?
In that case the command
chromosight detect sample.cool sample/
would become
chromosight detect --prefix sample sample.cool
I agree the possibility to customize output filenames would be nice. I'm just a bit concerned the CLI is becoming bloated with all the options. What do you think about a --prefix
option ?
from chromosight.
Prefix is good! Assuming it allows to include a path to a different folder, and it's not just saved in the same folder with the prefix...
from chromosight.
Right, it would be confusing to add --prefix
while keeping a positional argument for the output directory, I think I'll simply replace the output directory argument by output prefix and remove predefined output filenames. This way, chromosight detect input.cool out_dir/output
would produce out_dir/output.txt
and out_dir/output.json
. That seems more intuitive.
Thanks for the feedback, I'll get back to you. !
from chromosight.
This is now the default behaviour in chromosight 1.2.0, thanks !
from chromosight.
Awesome, thanks!
from chromosight.
Very quick fix!
from chromosight.
Related Issues (20)
- How to compare loops of Hi-C from different conditions like DEG in RNA-Seq? HOT 4
- Questions about resolution in loop json file HOT 2
- Chromosight for single-cell Hi-C HOT 8
- Point and click mode HOT 8
- Different number of patterns for the same Hi-C matrix HOT 3
- How to evaluate the detected loops? HOT 4
- Different number of loops on GM12878 Hi-C map HOT 2
- chromosight detects hairpin, the numer is too large HOT 1
- Can chromosight detect loops based on restriction fragments level (1f, 2f, etc) HI-C matrix. HOT 2
- Bus error in chromosight quantify HOT 2
- How does Chromosight compute the Pearson correlation ? HOT 2
- Is there a way to use multiresolution .mcool files directly? HOT 1
- Where do these kernels come from? HOT 5
- Loop score calculation HOT 4
- Pattern = TAD? HOT 1
- Recommend parameters of borders detect HOT 1
- Tuning the parameters (perc-zero, perc-undetected, pearson) for a relatively small dataset HOT 2
- HicMatrix generated cool file not supported - possible solution HOT 6
- Handle variable bin size
- plots appear blurry
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 chromosight.