The error that occurs when running the following script IOError: Could not open Corces_ATAC_1000Gv3_ldscores/Corces_ATAC.1.1.l2.ldscore[./gz/bz2]
:
ldsc.py \
--h2-cts UKBB_BMI.sumstats.gz \
--ref-ld-chr 1000G_EUR_Phase3_baseline/baseline. \
--out BMI_Corces_ATAC \
--ref-ld-chr-cts /ldsc/data/Corces_ATAC.ldcts \
--w-ld-chr weights_hm3_no_hla/weights.
Solution, specify the absolute path of the Corces_ATAC_1000Gv3_ldscores folder, for example, the Corces_ATAC_1000Gv3_ldscores folder is stored in /ldsc/data, then it can be modified as follows:
cd /ldsc/data
ldsc.py \
--h2-cts UKBB_BMI.sumstats.gz \
--ref-ld-chr 1000G_EUR_Phase3_baseline/baseline. \
--out BMI_Corces_ATAC \
--ref-ld-chr-cts /ldsc/data/Corces_ATAC.ldcts \
--w-ld-chr weights_hm3_no_hla/weights.
It can be understood that this is a bug of ldsc. ldsc needs to call Corces_ATAC_1000Gv3_ldscores/Corces_ATAC.1.1.l2.ldscore
data internally, but there is no such parameter in the official script to specify Corces_ATAC_1000Gv3_ldscores/Corces_ATAC.1.1.l2.ldscore
the data, so the data cannot be found when running.
Therefore, you only need to add cd /ldsc/data
such a parameter before running.
Read More:
- Keil Compile Error: ..\OBJ\USART.axf: error: L6002U: Could not open file ..\obj\sys.o: No such file or directory
- [Solved] STM8L151 IAR Project Compile Error: Fatal Error[Pe035]: #error directive: “Please select first the target STM8L…
- [Solved] fatal error C1083: Could Not Open Unable to open include file:“stdint.h”: No such file or directory
- keil: ERROR L107:ADDRESS SPACE OVERFlOW [How to Solve]
- [Solved] Error: L6218E: Undefined symbol vApplicationGetIdleTaskMemory (referred from tasks.o).
- Keil’s duplicate definition problem: Error: L6200E: Symbol F6x8 multiply defined
- [Solved] keil2 Error: FATAL ERROR L210: I/O ERROR ON INPUT FILE
- [Solved] KEIL Compile Error: Error: L6220E: Load region LR_IROM1 size (65552 bytes) exceeds limit (65536 bytes)……
- [Solved] FreeRTOS Debug Error: Error: L6218E: Undefined symbol xQueueCreateCountingSemaphore
- [Solved] Keil Error: *** ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
- Spring deployment error: Could not open ServletContext resource [/db.properties]
- Keil compilation Error: Error: L6218E [How to Solve]
- [Solved] KEIL Run Error: \KEY.axf: Error: L6218E: Undefined symbol EXTI_ClearITPendingBit (referred from exit.o).
- [Solved] Error: Could not open client transport with JDBC Uri
- [Solved] keil5 Error: Error: L6915E: Library reports error: __use_no_semihosting was requested
- Android 10 open file exception open failed: eacces (permission denied) android:requestLegacyExternalStorage= “true“
- [Solved] ERROR: Could not open requirements file: [Errno 2] No such file or directory : ‘requirments.txt‘
- Swagger-ui.html Open Error: There was an unexpected error (type=Not Found, status=404)
- [Solved] Open3d error: unable to display image using open3d
- [Solved] error: Failed to open COM3 error: espcomm_open failed