Skip to content
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

Sampleinfo.txt error #25

Open
gneedle1 opened this issue Apr 5, 2022 · 9 comments
Open

Sampleinfo.txt error #25

gneedle1 opened this issue Apr 5, 2022 · 9 comments

Comments

@gneedle1
Copy link

gneedle1 commented Apr 5, 2022

When running ClinSV, the sample info.txt file created is blank. If manually making one what should be included?

@J-Bradlee
Copy link
Collaborator

Hi @gneedle1,

ClinSV should automatically create the sampleInfo.txt file from your bam/bai files, or otherwise throw an error if it can't do it properly. Do you mind sharing what command you used and any output from ClinSV?

@gneedle1
Copy link
Author

Okay, I think I got it to work, the 'chr' labels were missing from my BAM files before, but now I get the sample info.txt file to generate with txt. I am not sure if it is in the right format though because now I get the error:

samtools depth: can't load index for "/app/project_folder/alignments/38_ref_DD_2/38_ref_DD_2.bam"

where "38_ref_DD_2" is the .bam and .bai files I want to analyze. The sampleinfo.txt file generated says:

"38_ref_DD_2 38_ref_DD_2 38_ref_DD_2 /app/input/38_ref_DD_2.dedup.sorted.bam"

Does this appear to be the correct format?

@drmjc
Copy link
Member

drmjc commented Apr 13, 2022 via email

@gneedle1
Copy link
Author

I'm using v1.0, renaming the files works but it still stops during the second task saying:

/app/project_folder/alignments/38_ref_DD_2/bw/sh/bigwig.q0.38_ref_DD_2.sh: line 7: 37061 Killed wigToBigWig /app/project_folder/alignments/38_ref_DD_2/bw/tmp/38_ref_DD_2.q0.wig /app/ref-data/refdata-b38/genome/Homo_sapiens_assembly38.fasta.chrom.sizes /app/project_folder/alignments/38_ref_DD_2/bw/38_ref_DD_2.q0.bw

in the "bigwig.q0.38_ref_DD_2.e" file. Thoughts? (thank you for your help!)

@gneedle1
Copy link
Author

It looks like the error is because the bigwig executable files are made for linux. Is there an osx build with docker?

@J-Bradlee
Copy link
Collaborator

Hey @gneedle1 could cat the error file "bigwig.q0.38_ref_DD_2.e" and share it here, you should be able to find it under the project folder you created. I think ClinSV gives some sort path in the output.

Unfortunately at the current time the docker builds are all linux based.

@gneedle1
Copy link
Author

I tried to switch out the bigwig tools and symbolic links in the docker image, but it exits with:

  • export PATH=/app/clinsv/bin:/app/clinsv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • PATH=/app/clinsv/bin:/app/clinsv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • cd /app/project_folder/alignments/FR05812606/bw/
  • wigToBigWig /app/project_folder/alignments/FR05812606/bw/tmp/FR05812606.q0.wig /app/ref-data/refdata-b38/genome/Homo_sapiens_assembly38.fasta.chrom.sizes /app/project_folder/alignments/FR05812606/bw/FR05812606.q0.bw
    /app/project_folder/alignments/FR05812606/bw/sh/bigwig.q0.FR05812606.sh: line 7: wigToBigWig: command not found

Should I just try and build locally?

@drmjc
Copy link
Member

drmjc commented Apr 28, 2022 via email

@gneedle1
Copy link
Author

I am running with:

docker run -v $refdata_path:/app/ref-data
-v $project_folder:/app/project_folder
-v $input_path:/app/input
--entrypoint "perl" 690e21ff2ee0 /app/clinsv/bin/clinsv
-r bigwig
-p /app/project_folder/
-i "/app/input/*.bam"
-ref /app/ref-data/refdata-b38

where "690e21ff2ee0" is the image ID. I am only trying to analyze the sample BAM at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants