Questions tagged [for-loop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

A function to produce M fragments of DNA with length of I

I want a script in R, which creates M fragments of DNA with a length of I but with GC content of >70% I know this gives ...
Angel's user avatar
  • 1,981
-1 votes
1 answer
86 views

For loop in Python goes wrong

I have mutation status (0,1) for ten genes in ten cancer 3D models I have also gene expression in these 3D models, like ...
Angel's user avatar
  • 1,981
0 votes
1 answer
59 views

Replace a string in a column of a text file based on matching string listed in another file using linux

I have multiple sets of files, so I grepped the list from a column in a seperate file such as file1.txt. I want to change all other files by using this file1.txt based on a matching string. for ...
Umar's user avatar
  • 135
5 votes
4 answers
470 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