-
Notifications
You must be signed in to change notification settings - Fork 2
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
issue with preparing region features #1
Comments
Also it seems the region feature data are not correct. |
I've gotten as far as needing to use the genome annotations you provide, but for both GRCH37 and 38, the CHR.rfs.gz files are: version https://git-lfs.github.com/spec/v1 I'm blocked from using your caller at this point as it is not clear from the documentation what format these RFS files need to take or I'd try to calculate them myself. Could you please either post instructions on this file format and/or please fix the data repos? Thank You- |
For issue #1, it worked for me when I create a directory of bed files, one per chrm named 1.bed, 2.bed.... Each with the single entry of CHR START END for the entirre chrm ////getFeatures-getReadFeatures.py
I believe bed spec requires a new line at the end of the file, that was failing the assertion check however, so i added the if/else block above. |
Another weird item.... compileFeatures.py had a first line "#!/ibin/bash" despite it being a python script. It only caused problems with emacs editing, but prob a small bug. |
In closing- I'm blocked b/c there is no rfs data available, and am really eager to have this caller in consideration for the clinical WGS product I'm developing. But time is short for the investigative phase I'm in now, so I hope this might be resolved soon. Thank you-- |
Ah! I think I sorted out the RFS file problem. You need to use git-lsf. This should be explained someplace in the repo. |
And specifically- this command needs to be run AFTER you fetch the RFS files |
hi iamh2o , |
I am getting error about the bed file. The instructions don't specific how to generate it.
python scotch/scotch.py prepare-region-features --beds_dir=beds/ --all_rfs_dir=scotch-data-grch37/ --output_trim_rfs_dir=trim_rfs/
Traceback (most recent call last):
File "scotch/scotch.py", line 423, in
COMMANDScommand
File "scotch/scotch.py", line 128, in prepare_region_features
assert bed_file.is_file(), f"beds_dir must contain a file for {chrom}, {bed_file}"
AssertionError: beds_dir must contain a file for 1, beds/1.bed
The text was updated successfully, but these errors were encountered: