SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Illumina_PE_reads-how to add the barcode sequence of read1 to the beginning of read2 lueny Bioinformatics 0 06-07-2014 10:50 PM
Add my Skype to get more Tong.W Illumina/Solexa 0 07-17-2013 10:48 PM
How to add custom annotation to a vcf ? swNGS Bioinformatics 2 05-15-2012 09:33 AM
Add a reference with no PubMed ID IgorFobia Wiki Discussion 3 09-03-2010 05:22 AM
Add a new line after the last file recording Wei-HD Bioinformatics 2 04-15-2010 12:13 AM

Reply
 
Thread Tools
Old 05-01-2015, 07:38 AM   #1
Flyingfrog
Junior Member
 
Location: Taiwan

Join Date: May 2015
Posts: 1
Default Cannot add sequence that already exists in SAMSequenceDictionary

I am just learning how to analyse data

this is my steps

1. download library, combine them into single csv file by CRISPR.sgRNA_create_ref_fasta

2. bowtie2 apple$ ./bowtie2-build CL.fa CrL

3.Billyde-MacBook:bowtie2 apple$ ./bowtie2 -x CrL -U -f R.fa -S


4Picard Sortsam
-> apple$ java -Xmx2g -jar picard.jar SortSam INPUT=test OUTPUT=result.sam SORT_ORDER=queryname

but error-> Cannot add sequence that already exists in SAMSequenceDictionary: A1BG


- - -
with:
./samtools view -H R
[W::sam_hdr_parse] duplicated sequence 'A1BG'
[W::sam_hdr_parse] duplicated sequence 'A1BG'
[W::sam_hdr_parse] duplicated sequence 'A1CF'
[W::sam_hdr_parse] duplicated sequence 'A1CF'
[W::sam_hdr_parse] duplicated sequence 'A2M'
[W::sam_hdr_parse] duplicated sequence 'A2M'
[W::sam_hdr_parse] duplicated sequence 'A2ML1'
[W::sam_hdr_parse] duplicated sequence 'A2ML1'
[W::sam_hdr_parse] duplicated sequence 'A3GALT2'
[W::sam_hdr_parse] duplicated sequence 'A3GALT2'
... and many


- -

do there have any idea why " Cannot add sequence that already exists in SAMSequenceDictionary: A1BG"

I have tried many different way to fit it but still not work

I have also try
samtools rmdup <input.bam> <output.bam>
or
samtools rmdup -s <input.bam> <output.bam>

butnotthing help



-
Flyingfrog is offline   Reply With Quote
Reply

Tags
bowtie, picard, sam

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 12:16 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO