More posts like this
-
Understanding IGV
written by zizigoluHi I have targeted sequencing (WGS) I have uploaded bam and vcf file for sample; From these screenshot which one shows/support this mutation ![enter image …
-
How to do preprocessing from fastqc
written by Lulu •Could someone provide a detailed guide on downstream preprocessing steps based on my FASTQC report? I conducted FASTQC analysis on a paired sample, and here …
-
Interpreting SnpEff output plots
written by Alireza •Hi all. How can we interpret the following bar plot? Why are two exon bars shown in the bar plot? ![enter image description here][1] ![enter …
-
GDCdownload Error
written by Emre •here is my code ![enter image description here][1] and here is my error, I really dont know what to do. ![enter image description here][2] I …
-
Why my `Percent duplicates` in a shallow sequencing is too high?
written by 631079064 •I made a 10x snATAC-seq library and do a shallow sequencing of 5G. Typically, the `Percent duplicates` is less than 20%. However, my library had …
-
Is the current R version (4.1.2) are not suitable for the packages related with TCGA
written by nonaddldy •I cannot install series of packages related with TCGA, no matter through BiocManager::install or install.packages ![enter image description here][1] ![enter image description here][2] ![enter image …
-
why those reads don't contain 0x2
written by Tao •I find 0x2 means read mapped in proper pair.As shown in the following image ![enter image description here][1] And why my reads(following image) don't contain …
-
Sequence Duplication Levels
written by Elizaveta •How to fix high level of sequence duplication?![enter image description here][1] ![enter image description here][2] [1]: /media/images/c0587e85-f87c-4be4-b024-29d4345f [2]: /media/images/9662efcb-e505-4ce3-a8dd-4112e676
-
Can not plot degree distribution in Cytoscape Network Analyzer on logscale
written by bhodai •I am using Cytoscape 3.9.0. When I tried - Tools > Analyze Network, the following window poped-up ![enter image description here][1] When I clicked on …
-
How can I add text label outside the tree in iTOL ?
written by anran04100 •here is the tree in iTOL ![enter image description here][1] now I've got a txt file with information in it ![enter image description here][2] How …
what is the output of
? and please, don't post an image when you can copy+paste the text.
Thanks for the tip. I'll try your suggestion
I tried your suggestion samtools view -H qname_unknown_circle.bam and the output result is like this:
yu@root:~$ samtools view -H qname_unknown_circle.bam
@HD VN:1.5 SO:queryname
@SQ SN:chr1 LN:248956422
@SQ SN:chr10 LN:133797422
@SQ SN:chr11 LN:135086622
………(Many lines like this ‘@SQ SN:chrxx LN:xxxx' are omitted)
@SQ SN:chrY_KI270740v1_random LN:37240
@HD VN:1.5 SO:unsorted GO:query
@PG ID:bwa PN:bwa VN:0.7.17-r1198-dirty CL:bwa/bwa mem -q hg38.fa unknown_circle_reads_1.fastq unknown_circle_reads_2.fastq
Wow, I tried to delete the "HD" line from the original Sam file and continue with the circle-map pipeline, and the error disappeared
The code for deletion is samtools view -h unknown_circle.sam | sed -e '/HD/d' > test_circle.samThis command line error, the modified one is at the bottom.what if the name of a read, the quality contains HD ?
I run the following command described in the tutorial and get a sam file that has an HD.
And then I used the the following command to get a bam file with two HD
If a bam file has two HD lines and then runs the following command will produce the error above.
So I deleted the HD line from the original sam file, and it worked.
Thanks again for your help !
Reference: iprada/Circle-Map
Sorry, I am a rookie, I just understand what you mean, the sed delete command mentioned above is fatal for quality containing HD, I will fix that sed command