Comments (3)
Hi, there's a csv file saving all feature paths and summary statistics used by phenosv codes to exact features before the inference step. Users need to change corresponding paths before running PhenoSV. To avoid confusions, this step is automatically processed by running: python3 $current_dir/phenosv/setup.py --path "$fpath/data"
during the set up (setup.sh
)
Because the feature file size is quite large, ~40G for the light mode, I don't expect users would change the data location often. To change a file location, users can change 'PhenoSV/lib/fpath.config' and run phenosv/setup.py
again.
Maybe I can update the setup.sh file and update the file location by running something like bash setup.sh --update_path /path/to/folder
. Do you think this is what you want?
from phenosv.
I think it will be more flexible to specify data location by command line argument which overrides the information in a config file. If the argument is not specified then the location in config file can still be used.
from phenosv.
Thank you both for responding. Ive looked into making this change and it is a little more complicated than I first assumed. The cache directory needs to be propagated to many places in the codebase. I have opened a PR trying to accomplish this but I fear once I started testing it, I will find many places I missed.
from phenosv.
Related Issues (10)
- unable to create conda environment HOT 5
- Why is PhenoSV score always `0.0`? HOT 4
- Error in calculating scores in phen2gene program HOT 4
- Insertion marked as "Exonic" but start position is in an Intron HOT 2
- `setup.sh` downloads full set even if 'light' is selected HOT 1
- Error for inversion HOT 4
- Annotation Script Bug HOT 1
- Feature Array has size of 0? HOT 7
- Processing a large number of sv HOT 6
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 phenosv.