Questions tagged [command-line]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
46 views

How to run a GATK Docker Image with local files?

I'm trying to use the HaplotypeCaller from the GATK toolkit but I keep getting an error. I pulled GATK through Docker and am using this command: ...
rimo's user avatar
  • 923
1 vote
2 answers
54 views

How can I limit blast results to exclude a specific taxonomic ID?

I would like to perform blast+, using the command line, here is the code: -task blastn -db nr -outfmt 7 -query myQuery.fas -out result.txt -remote. I have to ...
Farzad Beikpour's user avatar
2 votes
1 answer
83 views

Analysis of RNA sequencing with zUMIs

I wrote the .yaml file which was according the instruction from zUMIs: ...
Isidora Pantovic's user avatar
3 votes
2 answers
45 views

what does 8 stands for in bwa mem command line

What does this command implies in bwa mem bwa mem -t 8 index/referencegenome.fna read1.fastq.gz read2.fastq.gz > output.sam""" What does ...
Moon's user avatar
  • 103
2 votes
0 answers
31 views

bcftool merge of 5K samples makes ID a large string

I am using bcftools to merge 5000+ vcf files using this command bcftools merge -l list_of_vcfs.txt I am getting the following error ...
bioinfo_comp's user avatar
4 votes
2 answers
313 views

Keeping DNA sequence after changing FASTA header on command line

I have a FASTA header that looks like this: ...
rimo's user avatar
  • 923
0 votes
1 answer
49 views

How can I change all text in a .tsv file to 1, except the first three fields?

I want to convert a .tsv file table in binary format (1 and 0). In which all cells containing text would become 1 and blank cells would become ...
Deb's user avatar
  • 65
3 votes
2 answers
88 views

Residue numbering in biopython

Is there an out-of-the-box function in the Bio.SeqIO module (in biopython) that can print a protein sequence (in command line) ...
Leptoceratops's user avatar
1 vote
2 answers
79 views

Combine separate fasta files from a list.txt

I have about 10 fasta files that I need to pull from a giant folder of other fasta files (has about 100 files). I have a list of the files I need in a .txt file separated by line and I want to pull ...
rimo's user avatar
  • 923
-2 votes
1 answer
97 views

How can I identify the virulence factors in my FASTQ files generated from nanopore sequencing bacteria DNA?

I have performed genomic sequencing using nanopore technology and upon analysing using BLAST in the command line I have identified the presence of E.coli. I was wondering if I can add some code to ...
wilkohollie's user avatar
4 votes
4 answers
870 views

How to get a file with the number of reads for several fastq.gz files?

I have generated several FASTQ files and I would like to know the amount of reads for each of them. I am planning to run FastQC on the files which I know would give me the number of reads per sample ...
pythonbeginner's user avatar
1 vote
4 answers
184 views

How to remove empty files from a directory?

I have a directory of FASTA files, some of which are empty (placeholders that were output from a pipeline) and I would like to delete the empty files using a for loop on the command line. From what I ...
rimo's user avatar
  • 923
5 votes
4 answers
472 views

How to rename a file based on a directory name?

I have a lot of FASTA files that I recently scaffolded with RagTag. The output of RagTag includes a directory for each sample and the corresponding FASTA file written as "ragtag.scaffold.fasta&...
rimo's user avatar
  • 923
3 votes
1 answer
317 views

Using SED command in Nextflow script

I was wondering if someone can help me figure out this error message. I’m at the end of my Nextflow pipeline and I want to change the header in a FASTA file and it works when I use this command: ...
rimo's user avatar
  • 923
2 votes
1 answer
87 views

Filtering file with AWK and writing output to new file

Hi I'm trying to filter a column in a PAF file with the AWK command and write it to a new file: ...
rimo's user avatar
  • 923