1835 days ago
668 days ago
splitbam: splits a BAM by chromosomes
...file/bam pattern) REQUIRED. MUST contain __CHROM__ and end with .bam -s assume input is sorted. -x | --index create index. -t | --tmp (dir) tmp file directory -G (file) chr...2622 days ago
Find certain files/documents in Linux OS
.... Find all Empty FilesTo file all empty files under certain path.# find /tmp -type f -empty20. Find all Empty DirectoriesTo file all empty directories under certain path.# find /tmp -type d -empty21. File all Hi...3681 days ago
Linux Sort Commands for Bioinformatics
...ed on its first column, then the second if the first is the same, and so on:sort input.txt sort a huge file (GNU sort ONLY):sort -S 1500M -t $HOME/tmp input.txt > sorted.txt so...3626 days ago
2350 days ago
2190 days ago
Insert the sequence at desire location in multi-fasta file with Perl
#!/usr/bin/perl use warnings; use strict; use Bio::SeqIO; use Bio::Seq; use File::Copy; #ARGV[0] should be in following format --- Keep the coordinate sorte...2313 days ago
Perl script to read multi fasta sequence one by one
#!/usr/bin/env perl use strict; use warnings; #USAGE #perl rohanRun.pl seq.fa my $outfile='tmp.fa'; my $fastaSeq_ref = readfasta ("$ARGV[0]"); my %fastaSeq = %$fastaSeq_r...2220 days ago
How to redirect MIRA temporary file to non-NFS mounted location ?
I run MIRA on my dataset and got the following error. I have /tmp directory mounted on non-NFS protocol. I wanted to use it for temporary location. How to do that? Sorry, M new to MIRA. WARNING WARNING WARNING! It looks like the directory MIRA uses for temporary files /home/user/MIRA/mira_4.0...Tags: MIRA, TMPDIR, tmp, Redirect, Mount, Run, NFS
2551 days ago
Comment on "Nanopolis: polish a genome assembly"
...raft.fa # Align the basecalled reads to the draft sequence bwa mem -x ont2d -t 8 draft.fa reads.fa | samtools sort -o reads.sorted.bam -T reads.tmp - samtools index reads.sorte...2099 days ago
2798 days ago