Questions tagged [for-loop]
The for-loop tag has no usage guidance.
4
questions
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 ...
-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
...
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 ...
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&...