New answers tagged samtools
3
votes
Problem with samtools command with a final hyphen
The hyphen "-" character is commonly used as a placeholder in Unix commands to represent the standard input (stdin) or standard output (stdout) streams. From the POSIX specification:
...
- 2,481
3
votes
Accepted
Problem with samtools command with a final hyphen
It allows you to chain commands together to avoid creating intermediate files and simplify your workflow:
Samtools is designed to work on a stream. It regards an input file `-'
as the standard input (...
- 1,434
2
votes
Accepted
Nextflow Error: failed to read header from "-"
This is not a Nextflow error. The problem is that without an input file, samtools sort tries to read from stdin. Using a recent ...
- 2,481
2
votes
Extracting all reads from bam file which match read IDs in another file
samtools can do this natively too using -N, --qname-file CLI option:
...
- 121
Top 50 recent answers are included
Related Tags
samtools × 134sam × 69
sequence-alignment × 15
rna-seq × 14
fasta × 11
mpileup × 10
bwa × 8
python × 7
read-mapping × 7
ngs × 6
bash × 6
r × 5
variant-calling × 5
reads × 5
pysam × 5
bowtie2 × 5
genomics × 4
fastq × 4
bedtools × 4
coverage × 4
c++ × 4
indel × 4
sambamba × 4
sequence-analysis × 3
visualization × 3