Hi - I love that bbmap and its tools can directly make bam files. I noticed that it's using samtools with 8 threads. Is there a way to increase the number of threads?
Thanks
Unconfigured Ad
Collapse
X
-
Thanks for the reply. That is correct.
I have a virus that I introduced some degenerate nucleotides in to track bottlenecks.
I suppose I could just reformat to the area of the read I'm interested in and then just convert to fasta and use that.
Leave a comment:
-
For K=3 and the input file:
You would want an output file:Code:> AAAAA
Is that correct? I don't have anything that will do that; sorry. What did you want to use it for?Code:> AAA > AAA > AAA
Leave a comment:
-
Hi Brian,
I've been using kmercountexact and it's been very useful to give me the kmers with their counts.
I'm wondering if any of your tools has the capability to give me a list of all of the kmers present at given length regardless of being unique or not. Basically a list that would also include the redundant kmers without counts.
Thanks in advance for your help.
Leave a comment:
-
@HESmith, you weren't being a jerk at all. It's a fair point.
I've created a new thread. http://seqanswers.com/forums/showthr...975#post207975. Thanks for any help you can provide.
Leave a comment:
-
@jweger1988: I second @HESmith's suggestion.
Create a new thread with any errors or problems you have encountered with annotation programs.
Much as we love BBMap suite there are always going to be things that you will need to use a different program for functionality not available in BBMap suite.
Leave a comment:
-
Not trying to be a jerk, but have you tried variant calling with the test data that are included with the software? Success would eliminate installation and command errors as the source of your problem.
Also, a general rule for online troubleshooting of software problems is 1) to provide the exact command syntax that your used, and 2) report the exact error message that you received.
Leave a comment:
-
@HESmith, thanks for the response.
I've tried Annovar, SnpEff and a few others. Do you have any experience with these or other recommendations? It's totally possibly I'm just messing this up.
I am working with a virus that is not in any of the database, I tried to build my own file in the database and was getting an error message about the file not having the correct chromosomes set (with SnpEff).
Any clues?
Leave a comment:
-
@jweger1988, what tools have you tried for VCF annotation and what problems have you encountered?
Leave a comment:
-
Hi Brian,
Is there a tool in the suite that will take a .gff or other annotation file and annotate a .vcf from callvariants.sh? By annotation I mean adding the result of the variant (i.e. AA change). I've tried to do it with a bunch of other tools but I'm having trouble.
I'm sure it's not currently supported, but is there any possibility that one could callvariants from a .gbk or .gff reference as opposed to a fasta to get the coding changes directly?
Thanks in advance.
Leave a comment:
-
Hi I gave that a shot and dedupe throws a bunch of errors and produces about double the clusters than dedupe does without clustering.Originally posted by Brian Bushnell View PostNo, it doesn't change the behavior otherwise. But for clustering you may want to disable duplicate removal (or you won't get accurate cluster sizes) with "am=f ac=f" and you need to add some clustering flags, "fo c pc".
So the command might look like:
dedupe.sh in=file.fa out=file.fa mindentity=99 am=f ac=f fo c pc
Here's a copy of log: https://www.dropbox.com/s/t8aqj7fgf2...er.fa.log?dl=0
Leave a comment:
-
No, it doesn't change the behavior otherwise. But for clustering you may want to disable duplicate removal (or you won't get accurate cluster sizes) with "am=f ac=f" and you need to add some clustering flags, "fo c pc".
So the command might look like:
dedupe.sh in=file.fa out=file.fa mindentity=99 am=f ac=f fo c pc
Leave a comment:
-
Hi Brian - I think "renamecluster=t" in dedupe.sh will do what I want with regards to tracking which contigs are greater than "minidentity".Originally posted by darthsequencer View PostGreat! Yeah I'd like to know the duplicate membership for containments too.
I run dedupe.sh like this: dedupe.sh in=file.fa out=file.fa mindentity=99
Will adding "renameclusters=t" change what dedupe is doing besides renaming the sequences to what cluster they belong?
Leave a comment:
-
minid and idfilter
Hi Brian,
Thank you for making the deterministic flag. Results in that regard look great.
I am confused by how minid and idfilter are working, however. I will email you a small dataset that recreates the 'unexpected' behavior I am encountering if that is helpful.
My expectation is that this command should only allow alignments where BOTH the forward and reverse read, independently align with at least 75% pairwise identity to the reference.... ie overlap in the reads is NOT taken into account and a contig pairwise identity to the reference is NOT what the setting is referring to. Note: I usually output 4 fastqs for mapped/unmapped pairs but have changed to sam output and specified the idtag flag to give more info.
Here is the head of Mapped.sam... how are these mapping? YI:f:73.10, YI:f:64.14 etc...Code:bbsplit.sh\ -Xmx23g\ averagepairdist=200\ deterministic=t\ k=8\ minid=0.75\ idfilter=0.75\ maxindel=20\ nzo=f\ po=t\ ambiguous2=split\ ref=test_ref\ idtag=t\ in=Input_1P.fastq\ in2=Input_2P.fastq\ outm=Mapped.sam\ outu=Unmapped.sam\
Thanks, KateCode:@HD VN:1.4 SO:unsorted @SQ SN:006_Koxy_tonB_PC LN:317 @SQ SN:022_NDM_PC LN:267 @PG ID:BBMap PN:BBMap VN:37.22 CL:java -Djava.library.path=/install/bbmap/jni/ -ea -Xmx23g align2.BBSplitter ow=t fastareadlen=500 minhits=1 minratio=0.56 maxindel=20 qtrim=rl untrim=t trimq=6 -Xmx23g averagepairdist=200 deterministic=t k=8 minid=0.75 idfilter=0.75 maxindel=20 nzo=f po=t ambiguous2=split ref=test_ref idtag=t in=Input_1P.fastq in2=Input_2P.fastq outm=Mapped.sam outu=Unmapped.sam gi|828959694|gb|CP011636.1|_Klebsiella_oxytoca_strain_CAV1374,_complete_genome_(reversed)-1-146 83 006_Koxy_tonB_PC 209 18 4=2X2=37I100= = 6 -311 ATCAAGCTGTTTGCCGGGAATAACAACCAGCGCGGGGCGGCGTTTGACGTTACCGGGGCGCTGGACGATAACGATCGCGTGGCGGCGCGCTTAAGCGGCATGACCCGCTATGCAGACTCGCAGTTTGATACCTTAAAAGAGCAGC ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? NM:i:39 AM:i:18 YI:f:73.10 gi|828959694|gb|CP011636.1|_Klebsiella_oxytoca_strain_CAV1374,_complete_genome_(reversed)-1-146 163 006_Koxy_tonB_PC 6 9 87=1X2=47I1X1=1X3=2X = 209 311 AATGATGGGCGATACCAACTCGCACAGCTCGCTGGTGGTCGATCCGTGGTTCCTGGAAAATATCGAAGTGGTGCGCGGCCCGGCCTCAGTGCTGTACGGCCGCTCTTCGCCCGGCGGCATCGTCGCCCTCACCTCGCGTAAACCC ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? NM:i:52 AM:i:9 YI:f:64.14 gi|828959694|gb|CP011636.1|_Klebsiella_oxytoca_strain_CAV1374,_complete_genome_(reversed)-1-146 83 006_Koxy_tonB_PC 209 18 4=2X2=37I100= = 6 -311 ATCAAGCTGTTTGCCGGGAATAACAACCAGCGCGGGGCGGCGTTTGACGTTACCGGGGCGCTGGACGATAACGATCGCGTGGCGGCGCGCTTAAGCGGCATGACCCGCTATGCAGACTCGCAGTTTGATACCTTAAAAGAGCAGC ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? NM:i:39 AM:i:18 YI:f:73.10 gi|828959694|gb|CP011636.1|_Klebsiella_oxytoca_strain_CAV1374,_complete_genome_(reversed)-1-146 163 006_Koxy_tonB_PC 6 9 87=1X2=47I1X1=1X3=2X = 209 311 AATGATGGGCGATACCAACTCGCACAGCTCGCTGGTGGTCGATCCGTGGTTCCTGGAAAATATCGAAGTGGTGCGCGGCCCGGCCTCAGTGCTGTACGGCCGCTCTTCGCCCGGCGGCATCGTCGCCCTCACCTCGCGTAAACCC ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? NM:i:52 AM:i:9 YI:f:64.14 gi|828959694|gb|CP011636.1|_Klebsiella_oxytoca_strain_CAV1374,_complete_genome_(reversed)-1-146 83 006_Koxy_tonB_PC 209 18 4=2X2=37I100= = 6 -311 ATCAAGCTGTTTGCCGGGAATAACAACCAGCGCGGGGCGGCGTTTGACGTTACCGGGGCGCTGGACGATAACGATCGCGTGGCGGCGCGCTTAAGCGGCATGACCCGCTATGCAGACTCGCAGTTTGATACCTTAAAAGAGCAGC ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? NM:i:39 AM:i:18 YI:f:73.10 gi|828959694|gb|CP011636.1|_Klebsiella_oxytoca_strain_CAV1374,_complete_genome_(reversed)-1-146 163 006_Koxy_tonB_PC 6 9 87=1X2=47I1X1=1X3=2X = 209 311 AATGATGGGCGATACCAACTCGCACAGCTCGCTGGTGGTCGATCCGTGGTTCCTGGAAAATATCGAAGTGGTGCGCGGCCCGGCCTCAGTGCTGTACGGCCGCTCTTCGCCCGGCGGCATCGTCGCCCTCACCTCGCGTAAACCC ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? NM:i:52 AM:i:9 YI:f:64.14
Last edited by GenoMax; 05-17-2017, 03:39 PM.
Leave a comment:
-
If you wanted to use dedupe with PE files you could do it this way
Clumpify is more flexible compared to dedupe. You can select what happens to the duplicates. You may be interested in this option:Code:reformat.sh in1=R1.fq in2=R2.fq out=stdout.fq | dedupe.sh in=stdin.fq out=stdout.fq | reformat.sh in=stdin.fq out1=new1.fq out2=new2.fq
Code:dedupe=t optical=f All duplicates are detected, whether optical or not. All copies except one are removed for each duplicate.
Leave a comment:
Latest Articles
Collapse
-
by SEQadmin2
NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...-
Channel: Articles
Yesterday, 06:46 AM -
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, 10-28-2026, 09:57 AM
|
0 responses
29 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:57 AM
|
||
|
Started by SEQadmin2, 10-28-2026, 09:51 AM
|
0 responses
18 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:51 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 11:13 AM
|
0 responses
71 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 11:13 AM
|
||
|
Started by SEQadmin2, 10-22-2026, 10:48 AM
|
0 responses
48 views
0 reactions
|
Last Post
by SEQadmin2
10-22-2026, 10:48 AM
|
Leave a comment: