Closed iamyingzhou closed 1 year ago
Hi,
Thanks for checking in about this. Do you have a Mosek license set on your host system? We are not allowed to package the license with the docker image so the runscript will attempt to mount it into the image. If you have a Mosek license on the host system, where is it located?
If that is not the source of the issue, can you confirm which version of the Docker image you have? This may be a mismatch between the version of the runscript and the version of the docker image. If you have not already tried updating both your version of the runscript and also pulling the latest docker image that may help.
I am happy to review any logs you are able to provide about the run to help debug.
Thanks, Jens
Hello! Thank you for your response. I placed my mosek.lic file inside the $HOME/mosek/ directory.
I was able to resolve the error by directly downloading run_paa_docker.py from GitHub. However, when I try to obtain run_paa_docker.py using the command "git clone https://github.com/jluebeck/AmpliconSuite-pipeline.git," I still encounter an error. The run_paa_docker.py obtained through these two methods is different. I guess the version obtained through git clone is older than the one on GitHub?
Thanks - I think the issue was that there was still an old fork that was being pulled from after moving AmpliconSuite-pipeline to the AmpliconSuite GitHub organization which I have now deleted. If you pull again the old URL should redirect to the new version of AmpliconSuite. If not please change the URL accordingly: https://github.com/AmpliconSuite/AmpliconSuite-pipeline.
Thanks!
I'm sorry, I still have a few more questions. 1.is AA able to accept CRAM format? If not, is it necessary to convert it using samtools? 2.After converting the CRAM file to BAM, do I need to do duplicate removal and sort the BAM file and create an index? Does AA have these operations built-in? 3.I am running AA on DNAnexus. Is there a recommended installation method? Currently, I am using Docker, but I noticed in your recent documentation that Docker is listed under option D. Is it not user-friendly enough?
Hi,
Thanks, Jens
Thank you so much! Should I directly place the CRAM file under the "--bam" parameter? Another reason for converting CRAM to BAM is that I intend to utilize GATK for removing duplicates from the sequencing file, as shown in the following command: "gatk MarkDuplicates --INPUT sample.bam --OUTPUT sample.rmdup.bam --METRICS_FILE sample.metrics --VALIDATION_STRINGENCY SILENT --OPTICAL_DUPLICATE_PIXEL_DISTANCE 2500 --ASSUME_SORT_ORDER "queryname" --CREATE_MD5_FILE true." Would it be necessary for me to perform this step? if this step is already included as part of AA?
Yes, the CRAM file can be given for the argument of --bam
. The pipeline will work without marking duplicates. Duplicates are only removed if the user provides fastq files to the pipeline.
Thank you!
When using AA, I have consistently encountered an error message stating "mosek license not found". After carefully reviewing the code in run_paa_docker.py, I observed a discrepancy between the mounted volume path used for Docker ("/home/programs/mosek/8/licenses") and the value of MOSEKLM_LICENSE_FILE in the run_paa_script.sh script inside the Docker container ("/home/mosek/"). This mismatch between paths appears to be the cause of the error.