Skip to content

question about “--sams=bam.list” #157

Description

@Henry-Ding

hi,

I am using the genotype_sv function of V2.7.x, my bamlist is shown in the picture, but it will report an error, is my bamlist format wrong? When I use "--sam" to give a separate bam file program can run.
bamlist:
image
err.log:
image

looking forward your reply
best wishes
ding

Activity

  1. Henry-Ding commented on Nov 8, 2024

    @Henry-Ding
    Author

    image
    This is my command.

    thanks

  2. hannespetur commented on Nov 12, 2024

    @hannespetur
    Member

    Hi, the bamlist format looks right to me. Can you check if those are the the correct read paths, there are no whitespaces/tabs in the bamlist, and that you have permissions to read the data by using i.e. samtools

    samtools view /data/..../2.bam/I1.bam Chr1:1-1200000 | less -S

    Best,
    Hannes

  3. Henry-Ding commented on Nov 13, 2024

    @Henry-Ding
    Author

    Thanks for your reply.
    I tried the following command as you suggested, these results do not seem to be problematic:
    image
    image

  4. hannespetur commented on Nov 13, 2024

    @hannespetur
    Member

    The newline style needs to be UNIX (\n) but it looks you have the DOS style (\r\n) from your cat -A output. You can convert to UNIX style with

    sed $'s/\r$//' tst.bam.list > unix.tst.bam.list
    cat -A unix.tst.bam.list # Should not print the ^M in output

    and use unix.tst.bam.list in graphtyper

  5. Henry-Ding commented on Nov 14, 2024

    @Henry-Ding
    Author

    Damn, I didn't catch the formatting problem, thanks for your careful answer. The program is running.

    One more small question, how many samples does the program support at a time? I have 5,000 samples

  6. Henry-Ding commented on Nov 14, 2024

    @Henry-Ding
    Author

    image
    I ran graphtyper with my samples and got this error.

  7. hannespetur commented on Nov 16, 2024

    @hannespetur
    Member

    alright, well that error message doesn't explain much. Only that some std::map had an access problem, somewhere. Is there really nothing else helpful in your logs?

    And it would help me a lot if you could demonstrate your problem in a way for me to reproduce it

  8. Henry-Ding commented on Nov 18, 2024

    @Henry-Ding
    Author

    graphtyper genotype_sv ${reference_fasta} 5k.svimmer.vcf.gz --sams=5k.bam.list --region=Chr${1}
    --threads=52 --vverbose --log=5k.Chr${1}.log --output=5k.graphtyper.SV
    5k.Chr12.log
    0_graphtyper_4481436.log
    Hi, this is my command line and all the logs I can get. I hope this can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions