RNAmediator.ConstraintPLFold.write_constraint
- RNAmediator.ConstraintPLFold.write_constraint(save, sid, seq, paired, unpaired, data_u, data_p, constrain, region, diff_nu, diff_np, window, span, temperature, outdir)
Write output of constraint folding
- Parameters:
save (bool Should npy or npy and gz output be saved) –
sid (str Id for Sequence) –
seq (str Sequence to fold) –
paired (str Infix for output files of paired constraint) –
unpaired (str Infix for ouput files of unpaired constraint) –
data_u (PLFoldOutput Output of call to fold_unconstraint for unpaired constraint) –
data_p (PLFoldOutput Output of call to fold_unconstraint for paired constraint) –
constraint (str Id od constraint) –
region (int -u Option of RNAplfold) –
diff_nu (np.array Diff between unconstrained and constraint unpaired) –
diff_np (np.array Diff between unconstrained and constraint paired) –
window (int Size of window to fold) –
span (int Maximum base-pair span to be evaluated) –
temperature (float Temperature) –
outdir (str Location of the Outpu directory. If it is an empty string os.cwd() is used) –